# Pastebin ZbKzxzcl server { server_name mrh.io; listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/mrh.io/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/mrh.io/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot location / { proxy_pass http://localhost:8080; proxy_cache_bypass $http_upgrade; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; location /.well-known/webfinger { proxy_set_header Content-type application/json; } } }