legacy-server-config/nginx/sites/mcmap-euforward

16 lines
389 B
Plaintext
Raw Permalink Normal View History

2021-04-12 09:14:55 +00:00
server {
listen 80;
server_name mc.teier.eu;
return 301 https://mc.teier.net:443$request_uri;
}
server {
listen 443 ssl http2;
server_name mc.teier.eu;
ssl on;
ssl_certificate /etc/letsencrypt/live/teier.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/teier.net/privkey.pem;
return 301 https://mc.teier.net:443$request_uri;
}