diff --git a/states/nginx/templates/types/dokuwiki.j2 b/states/nginx/templates/types/dokuwiki.j2 index 7ff9b9e..7553d2a 100644 --- a/states/nginx/templates/types/dokuwiki.j2 +++ b/states/nginx/templates/types/dokuwiki.j2 @@ -23,7 +23,7 @@ server { location ~ \.php?$ { include fastcgi_params; - fastcgi_pass unix:{{ nginx.config.php_socket_file }}; + fastcgi_pass unix:{{ php_socket_file }}; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name; } diff --git a/states/nginx/templates/types/nextcloud.j2 b/states/nginx/templates/types/nextcloud.j2 index c519eba..cd25be1 100644 --- a/states/nginx/templates/types/nextcloud.j2 +++ b/states/nginx/templates/types/nextcloud.j2 @@ -42,7 +42,7 @@ server { location ~ ^(.+?\.php)(/.*)?$ { include fastcgi_params; - fastcgi_pass unix:{{ nginx.config.php_socket_file }}; + fastcgi_pass unix:{{ php_socket_file }}; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name; fastcgi_split_path_info ^(.+\.php)(/.+)$;