Hero/OG: Platform & Infrastructure Engineer, RHEL-led tagline with ▸; fix :8080 links (relative nginx redirects)
build-and-deploy / build (push) Failing after 15m26s

This commit is contained in:
2026-06-17 20:35:51 +10:00
parent 3fd0a9a729
commit a729484c7a
5 changed files with 27 additions and 24 deletions
+6
View File
@@ -11,6 +11,12 @@ server {
# Don't leak the nginx version.
server_tokens off;
# Behind the Cloudflare Tunnel on :443 — nginx listens on :8080. Without this, nginx
# emits ABSOLUTE redirects (e.g. trailing-slash on /projects) as http://host:8080/... which
# breaks links. Force relative redirects so the browser keeps https://www.bztmon.com.
absolute_redirect off;
port_in_redirect off;
# Security headers (CSP, nosniff, frame, etc.) — applied site-wide.
# Re-included in each location below that sets its own add_header, because
# a location-level add_header drops all inherited ones.