From 99e81cdf80bc8e55a6e3e2c2060b5e581d84fc85 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 6 Jul 2017 16:04:53 +0300
Subject: [PATCH] - Fix issue with OpenBSD 6.0 and Debian Jessie.

---
 tests/templates/nginx/sites-enabled/php-fpm.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/templates/nginx/sites-enabled/php-fpm.conf b/tests/templates/nginx/sites-enabled/php-fpm.conf
index e0bc19b..8a77093 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 %} #}
     }
 }
-- 
GitLab