Nginx-Configurations/http.d/play.gpoc-modded.konpeki.solutions
2024-11-04 15:16:55 -05:00

21 lines
688 B
Text

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;
}