@@ -48,6 +48,11 @@ server {
location ~ {{ php_file_regex }} {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/{{ fqdn }}.sock;
{% for header, value in http_header_overrides | dictsort -%}
fastcgi_param {{ 'HTTP_' + header.replace('-', '_').upper() }} "{{ value }}";
{% endfor -%}
}
# Serve the files.