|
|
|
@ -86,3 +86,19 @@ dependencies:
|
|
|
|
|
try_files $uri /index.php$request_uri;
|
|
|
|
|
access_log off;
|
|
|
|
|
}
|
|
|
|
|
{% if status_page_path is defined and status_page_path|length -%}
|
|
|
|
|
location {{ status_page_path }} {
|
|
|
|
|
{{ status_page_acl | indent(width=2) }}
|
|
|
|
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
|
|
|
|
fastcgi_index index.php;
|
|
|
|
|
include {{ nginx_installation_directory }}/fastcgi_params;
|
|
|
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
|
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
|
|
|
fastcgi_param HTTPS on;
|
|
|
|
|
fastcgi_param modHeadersAvailable true;
|
|
|
|
|
fastcgi_param front_controller_active true;
|
|
|
|
|
fastcgi_pass {{ pool_name }};
|
|
|
|
|
fastcgi_intercept_errors on;
|
|
|
|
|
fastcgi_request_buffering off;
|
|
|
|
|
}
|
|
|
|
|
{%- endif %}
|
|
|
|
|