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
375dbc19
Commit
375dbc19
authored
8 years ago
by
Owain Jones
Browse files
Options
Download
Email Patches
Plain Diff
removed /realtime as now is handled by Symfony
parent
0632468c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
gliders.nginx.conf
gliders.nginx.conf
+5
-5
gliders.nginx.prod.conf
gliders.nginx.prod.conf
+5
-5
No files found.
gliders.nginx.conf
View file @
375dbc19
...
@@ -110,11 +110,11 @@ server {
...
@@ -110,11 +110,11 @@ server {
rewrite
^(.*)$ /${
symfonyfile
}.
php
/$
1
last
;
rewrite
^(.*)$ /${
symfonyfile
}.
php
/$
1
last
;
}
}
location
/
realtime
{
#
location /realtime {
proxy_pass
http
://
localhost
:
9002
/;
#
proxy_pass http://localhost:9002/;
proxy_read_timeout
10
m
;
#
proxy_read_timeout 10m;
proxy_connect_timeout
10
m
;
#
proxy_connect_timeout 10m;
}
#
}
# 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
(/|$) {
...
...
This diff is collapsed.
Click to expand it.
gliders.nginx.prod.conf
View file @
375dbc19
...
@@ -112,11 +112,11 @@ server {
...
@@ -112,11 +112,11 @@ server {
gzip_static
on
;
gzip_static
on
;
}
}
location
/
realtime
{
#
location /realtime {
proxy_pass
http
://
localhost
:
9002
/;
#
proxy_pass http://localhost:9002/;
proxy_read_timeout
10
m
;
#
proxy_read_timeout 10m;
proxy_connect_timeout
10
m
;
#
proxy_connect_timeout 10m;
}
#
}
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