Revert c8399f2f959f2571fa10bf1a93a4255eb85b9639...3374df266a2a497ea79809625fb1e6c1c2fd798e on Reverse proxy BlueMap with NGINX

Lukas Rieger 2021-05-23 17:00:59 +02:00
parent 3374df266a
commit 08f553907e

@ -35,40 +35,3 @@ server {
} }
} }
``` ```
## 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/;
}
}
```