diff --git a/Reverse-proxy-BlueMap-with-NGINX.md b/Reverse-proxy-BlueMap-with-NGINX.md index c945c72..2b8051f 100644 --- a/Reverse-proxy-BlueMap-with-NGINX.md +++ b/Reverse-proxy-BlueMap-with-NGINX.md @@ -34,41 +34,4 @@ server { proxy_pass http://127.0.0.1:8100; } } -``` - -## Standalone Static Website -If you want to run BlueMap as a standlone static Website that does _not_ hit your Minecraft server, then you'd add something like this to your nginx config: - -```nginx -server { - listen 80; - listen 443 ssl; - - server_name map.mydomain.com; - - # optional if you want live player markers - # this still will hit your MC server - location /live/ { - proxy_pass http://127.0.0.1:8100; - } - - location /data/settings.json { - alias /path/to/bluemap/web/data/settings.json; - } - - location /data/textures.json { - alias /path/to/bluemap/web/data/textures.json; - } - - location /data/ { - gzip_static always; - gzip_proxied expired no-cache no-store private auth; - gunzip on; - alias /path/to/bluemap/web/data/; - } - - location / { - alias /path/to/bluemap/web/; - } -} -``` +``` \ No newline at end of file