From e02d753ef4699ebc1612e01c3edb0340cb0afe45 Mon Sep 17 00:00:00 2001 From: hoalex Date: Fri, 2 Dec 2016 10:10:44 +0100 Subject: [PATCH] Fix for wrong default ports in nginx configuration Recorders built-in HTTP server listens on port 8083 per default. The nginx configuration, however, contained two location blocks that proxied to port 8085 instead, which prevented the website to render correctly. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1354418..da335d9 100644 --- a/README.md +++ b/README.md @@ -322,14 +322,14 @@ server { # OwnTracks Recorder Views location /owntracks/view/ { proxy_buffering off; # Chrome - proxy_pass http://127.0.0.1:8085/view/; + proxy_pass http://127.0.0.1:8083/view/; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; } location /owntracks/static/ { - proxy_pass http://127.0.0.1:8085/static/; + proxy_pass http://127.0.0.1:8083/static/; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;