Help creating subdomain to dynmap!
I'm using cloudflare
A record
Name: map
IPV4: [Server IP]
DNS Only
SRV record
Name: _http._tcp.map
Priority: 0
Weight: 5
Target: My domain
TTL Auto
I can't for the life of me find any tutorial on how to do this stuff so support would be much appreicate. I'd also like to get secure HTTPS.

7 Replies
virtual host, ditch the srv
and proxy
server {
server_name domain;
location / {
proxy_pass http://localhost:port/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/domain/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/domain/privkey.pem;
}
Just issue an ssl certificate, fill in this thing and make a file called whatever.conf in /etc/nginx/sites-available/ with this pasted in it
http://setup.md/guides/dynmap/proxy if you prefer caddy to nginx
No normal person uses caddy π even the name is cringe
sir caddy is used by the likes of Stripe, Mercedes Benz and europa.eu
Nginx has had it's time but it's old and should be shelved.
!map
View a comparison of the most popular map plugins here: https://map.roanv.nl
Map Index
A Minecraft map viewers comparison!