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
875d9974
Commit
875d9974
authored
8 years ago
by
Gliders User
Browse files
Options
Download
Email Patches
Plain Diff
swap php-fpm for php-pm
parent
6b58b2ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
gliders.nginx.prod.conf
gliders.nginx.prod.conf
+10
-1
No files found.
gliders.nginx.prod.conf
View file @
875d9974
...
...
@@ -38,6 +38,15 @@ server {
# strip app.php/ prefix if it is present
rewrite
^/$
symfonyfile
\.
php
/?(.*)$ /$
1
permanent
;
location
@
ppm
{
proxy_set_header
Host
$
http_host
;
proxy_set_header
X
-
Real
-
IP
$
remote_addr
;
proxy_set_header
X
-
Forwarded
-
For
$
proxy_add_x_forwarded_for
;
proxy_set_header
X
-
Forwarded
-
Proto
$
scheme
;
proxy_pass
http
://
127
.
0
.
0
.
1
:
8005
;
error_page
502
/
502
.
html
;
}
location
/ {
limit_req
zone
=
gliders
burst
=
5
;
...
...
@@ -46,7 +55,7 @@ server {
return
503
;
}
index
$
index_file
;
try_files
$
uri
@
rewritea
pp
;
try_files
$
uri
@
pp
m
;
}
location
/
dashboard
.
php
{
...
...
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