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
29231d93
Commit
29231d93
authored
8 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
added /realtime/ proxy
parent
376ad1ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
gliders.nginx.conf
gliders.nginx.conf
+4
-0
gliders.nginx.prod.conf
gliders.nginx.prod.conf
+4
-0
No files found.
gliders.nginx.conf
View file @
29231d93
...
@@ -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;
...
...
This diff is collapsed.
Click to expand it.
gliders.nginx.prod.conf
View file @
29231d93
...
@@ -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
;
}
}
...
...
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