|
@@ -71,9 +71,13 @@ func (h *ProxyHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|
|
domainOnly = hostPath[0]
|
|
|
}
|
|
|
|
|
|
+ /* Setup Cache Headers */
|
|
|
+ //w.Header().Set("Cache-Control", "public, max-age=86400")
|
|
|
+
|
|
|
/*
|
|
|
Host Routing
|
|
|
*/
|
|
|
+
|
|
|
sep := h.Parent.getProxyEndpointFromHostname(domainOnly)
|
|
|
if sep != nil && !sep.Disabled {
|
|
|
if sep.RequireBasicAuth {
|