26236f491e
This unifies the methods to obtain the X-Forwarded-* header values and provides logical fallbacks. In addition, so we can ensure this functionality extends to the templated files we've converted the ServeTemplatedFile method into a function that operates as a middlewares.RequestHandler. Fixes #2765 |
||
---|---|---|
.. | ||
public_html | ||
const.go | ||
error_handler.go | ||
options_handler.go | ||
server.go | ||
template.go |