Hero/OG: Platform & Infrastructure Engineer, RHEL-led tagline with ▸; fix :8080 links (relative nginx redirects)
build-and-deploy / build (push) Failing after 15m26s
build-and-deploy / build (push) Failing after 15m26s
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user