main
Last change
on this file was
42bd667,
checked in by David Fuertes <dfuertes@…>, 4 years ago
|
Historial Limpio
|
-
Property mode set to
100755
|
File size:
485 bytes
|
Line | |
---|
1 | upstream tornado { |
---|
2 | #server 172.25.0.22:8000 fail_timeout=0; |
---|
3 | server web2py-tornado:8000 fail_timeout=0; |
---|
4 | } |
---|
5 | |
---|
6 | server { |
---|
7 | #listen 172.25.0.23:80 default_server; |
---|
8 | listen web2py-nginx:80 default_server; |
---|
9 | |
---|
10 | location / { |
---|
11 | try_files $uri @proxy_to_tornado; |
---|
12 | } |
---|
13 | |
---|
14 | location @proxy_to_tornado { |
---|
15 | proxy_set_header X-Real-IP $remote_addr; |
---|
16 | proxy_redirect off; |
---|
17 | proxy_set_header Host $host; |
---|
18 | proxy_pass http://tornado; |
---|
19 | } |
---|
20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.