Commit 29231d93 authored by Owain Jones's avatar Owain Jones
Browse files

added /realtime/ proxy

parent 376ad1ec
...@@ -101,6 +101,10 @@ server { ...@@ -101,6 +101,10 @@ server {
rewrite ^(.*)$ /${symfonyfile}.php/$1 last; rewrite ^(.*)$ /${symfonyfile}.php/$1 last;
} }
location /realtime {
proxy_pass http://localhost:9002/;
}
# pass the PHP scripts to FastCGI server from upstream phpfcgi # pass the PHP scripts to FastCGI server from upstream phpfcgi
location ~ ^/(app|app_dev|config)\.php(/|$) { location ~ ^/(app|app_dev|config)\.php(/|$) {
# fastcgi_pass hhvmfcgi; # fastcgi_pass hhvmfcgi;
......
...@@ -103,6 +103,10 @@ server { ...@@ -103,6 +103,10 @@ server {
add_header Cache-Control "public"; add_header Cache-Control "public";
} }
location /realtime {
proxy_pass http://localhost:9002/;
}
location @rewriteapp { location @rewriteapp {
rewrite ^(.*)$ /${symfonyfile}.php/$1 last; rewrite ^(.*)$ /${symfonyfile}.php/$1 last;
} }
......
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