Nginx-Configurations/http.d/link.gpoc.konpeki.solutions

21 lines
No EOL
699 B
Text

server {
server_name link.gpoc.konpeki.solutions www.link.gpoc.konpeki.solutions;
ssl_certificate /etc/letsencrypt/live/link.gpoc.konpeki.solutions/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/link.gpoc.konpeki.solutions/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/link.gpoc.konpeki.solutions/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://mccp-link/;
}
include snippets/global/errors/http-cat-error-pages.conf;
}