Commit 875d9974 authored by Gliders User's avatar Gliders User
Browse files

swap php-fpm for php-pm

parent 6b58b2ca
......@@ -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 @rewriteapp;
try_files $uri @ppm;
}
location /dashboard.php {
......
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