Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Owain Jones
gliders-webserver
Commits
fa972ea6
Commit
fa972ea6
authored
9 years ago
by
root
Browse files
Options
Download
Email Patches
Plain Diff
now we're no longer using hhvm, update nginx to try php7 first
parent
d3dd8acf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
gliders.nginx.conf
gliders.nginx.conf
+11
-10
No files found.
gliders.nginx.conf
View file @
fa972ea6
...
...
@@ -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;
#
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment