# Include a common header (Upgrade Websockets, Add Upstreams, Upgrade HTTP to HTTPS) include snippets/global/common-boilerplate.conf; server { server_name play.gpoc-modded.shad.moe www.play.gpoc-modded.shad.moe; ssl_certificate /etc/letsencrypt/live/play.gpoc-modded.shad.moe/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/play.gpoc-modded.shad.moe/privkey.pem; ssl_trusted_certificate /etc/letsencrypt/live/play.gpoc-modded.shad.moe/fullchain.pem; include snippets/global/common-ssl.conf; include snippets/proxy/common-proxy-headers.conf; add_header Access-Control-Allow-Origin *; proxy_set_header Content-Security-Policy upgrade-insecure-requests; location / { proxy_pass http://mcm-std/; } include snippets/global/errors/http-cat-error-pages.conf; }