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

21 lines
699 B
Text
Raw Permalink Normal View History

2024-11-04 11:09:00 -06:00
server {
2024-11-04 13:52:16 -06:00
2024-11-04 14:33:00 -06:00
server_name link.gpoc.konpeki.solutions www.link.gpoc.konpeki.solutions;
2024-11-04 13:52:16 -06:00
2024-11-04 14:33:00 -06:00
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;
2024-11-04 13:52:16 -06:00
include snippets/global/common-ssl.conf;
include snippets/proxy/common-proxy-headers.conf;
2024-11-04 11:09:00 -06:00
add_header Access-Control-Allow-Origin *;
proxy_set_header Content-Security-Policy upgrade-insecure-requests;
location / {
2024-11-04 14:01:25 -06:00
proxy_pass http://mccp-link/;
2024-11-04 11:09:00 -06:00
}
2024-11-04 13:52:16 -06:00
include snippets/global/errors/http-cat-error-pages.conf;
}