Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBaseURL ¶
GetBaseURL extracts the base URL from request headers (for nginx proxy) or falls back to configured URL It checks headers in the following order: 1. X-Forwarded-Proto + X-Forwarded-Host (nginx proxy headers) 2. X-Forwarded-Host alone (assumes https) 3. Host header (with scheme based on TLS) 4. Falls back to the provided fallbackURL
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.