Commit fa972ea6 authored by root's avatar root
Browse files

now we're no longer using hhvm, update nginx to try php7 first

parent d3dd8acf
......@@ -87,20 +87,21 @@ server {
location ~ ^/(app|app_dev|config)\.php(/|$) {
fastcgi_pass hhvmfcgi;
fastcgi_intercept_errors on;
error_page 502 = @fallback;
# error_page 502 = @fallback;
error_page 502 /502.html;
include fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
fastcgi_param SCRIPT_FILENAME $symfonyroot/web$fastcgi_script_name;
fastcgi_param HTTPS off;
}
location @fallback {
fastcgi_pass phpfcgi;
fastcgi_intercept_errors on;
include fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
fastcgi_param SCRIPT_FILENAME $symfonyroot/web$fastcgi_script_name;
fastcgi_param HTTPS off;
error_page 502 /502.html;
}
# location @fallback {
# fastcgi_pass phpfcgi;
# fastcgi_intercept_errors on;
# include fastcgi_params;
# fastcgi_split_path_info ^(.+\.php)(/.*)$;
# fastcgi_param SCRIPT_FILENAME $symfonyroot/web$fastcgi_script_name;
# fastcgi_param HTTPS off;
# error_page 502 /502.html;
#}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment