diff --git a/tests/templates/nginx/sites-enabled/php-fpm.conf b/tests/templates/nginx/sites-enabled/php-fpm.conf
index e0bc19b29e2377951cf7cc4d8e05fa72c092aec4..8a770932e9a6fa3a1db0b49e1e788526beafb58f 100644
--- a/tests/templates/nginx/sites-enabled/php-fpm.conf
+++ b/tests/templates/nginx/sites-enabled/php-fpm.conf
@@ -6,5 +6,8 @@ server {
     location ~ [^/]\.php(/|$) {
         include fastcgi_params;
         fastcgi_pass unix:{{ php_fpm_listen_socket_chrooted[ansible_os_family]|default(php_fpm_listen_socket[ansible_os_family]) }};
+        {# {% if ansible_os_family == 'OpenBSD' %} #}
+        fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
+        {# {% endif %} #}
     }
 }