outposts/proxy: add X-authentik-meta-version

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-12-01 20:41:55 +01:00
parent f2023a7af2
commit d0ceafe79e
4 changed files with 8 additions and 1 deletions

View File

@ -13,6 +13,7 @@ import (
func (ws *WebServer) configureStatic() {
statRouter := ws.lh.NewRoute().Subrouter()
statRouter.Use(ws.staticHeaderMiddleware)
indexLessRouter := statRouter.NewRoute().Subrouter()
indexLessRouter.Use(web.DisableIndex)
// Media files, always local