2016-11-08 12:34:17 +01:00
|
|
|
#origin git@github.com:ToywheelDev/gw-app.git
|
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
|
|
|
|
server_name app.gamewheel.local;
|
|
|
|
|
|
|
|
root /usr/share/gamewheel/gw-app;
|
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass_request_headers on;
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
proxy_set_header X-NginX-Proxy true;
|
|
|
|
proxy_pass http://127.0.0.1:3104;
|
|
|
|
proxy_ssl_session_reuse off;
|
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
proxy_redirect off;
|
|
|
|
}
|
2016-11-08 13:22:18 +01:00
|
|
|
}
|