pong config

beta.r3js.org
Theunis Johannes Botha 2016-09-30 20:54:35 +02:00
parent b4f512dc19
commit 0af73912b1
1 changed files with 30 additions and 0 deletions

30
pong.conf Normal file
View File

@ -0,0 +1,30 @@
server {
listen 80;
server_name pong.cybafelo.local pong-debug.cybafelo.local;
root /srv/cybafelo.local/vr_pong;
index index.html;
access_log /var/log/nginx/3d-editor.cybafelo.local.access.log;
error_log /var/log/nginx/3d-editor.cybafelo.local.error.log;
location / {
try_files $uri $uri/ @node;
}
location @node {
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:3101;
proxy_ssl_session_reuse off;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_read_timeout 99999s;
proxy_connect_timeout 99999s;
proxy_send_timeout 99999s;
}
}