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
1e37218f
Commit
1e37218f
authored
9 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
added 502 error page
parent
862aee62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
gliders.nginx.conf
gliders.nginx.conf
+6
-1
No files found.
gliders.nginx.conf
View file @
1e37218f
...
...
@@ -45,6 +45,11 @@ server {
try_files
$
uri
@
rewriteapp
;
}
error_page
502
/
502
.
html
;
location
@
error_502
{
rewrite
^(.*)$ /
502
.
html
break
;
}
error_page
503
@
maintenance
;
location
@
maintenance
{
rewrite
^(.*)$ /
maintenance
.
html
break
;
...
...
@@ -84,7 +89,7 @@ server {
location
~ ^/(
app
|
app_dev
|
config
)\.
php
(/|$) {
fastcgi_pass
hhvmfcgi
;
fastcgi_intercept_errors
on
;
#
error_page 502 = @fallback;
error_page
502
= @
fallback
;
include
fastcgi_params
;
fastcgi_split_path_info
^(.+\.
php
)(/.*)$;
fastcgi_param
SCRIPT_FILENAME
$
symfonyroot
/
web
$
fastcgi_script_name
;
...
...
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