mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-08 04:39:13 +02:00
dep:#64 fixed version changes
This commit is contained in:
@@ -52,14 +52,17 @@ func main() {
|
||||
webdavRequestMethods := []string{"PROPFIND", "MKCOL", "COPY", "MOVE"}
|
||||
|
||||
fiberApp := fiber.New(fiber.Config{
|
||||
CaseSensitive: true,
|
||||
StrictRouting: true,
|
||||
ServerHeader: "HTWKalender iCal Service",
|
||||
AppName: "HTWKalender iCal Service",
|
||||
RequestMethods: append(fiber.DefaultMethods[:], webdavRequestMethods...),
|
||||
EnableTrustedProxyCheck: true,
|
||||
TrustedProxies: []string{"172.16.0.0/12", "172.18.0.5", "172.18.0.1"},
|
||||
ProxyHeader: "X-Forwarded-For",
|
||||
CaseSensitive: true,
|
||||
StrictRouting: true,
|
||||
ServerHeader: "HTWKalender iCal Service",
|
||||
AppName: "HTWKalender iCal Service",
|
||||
RequestMethods: append(fiber.DefaultMethods[:], webdavRequestMethods...),
|
||||
TrustProxy: true,
|
||||
TrustProxyConfig: fiber.TrustProxyConfig{
|
||||
Proxies: []string{"172.16.0.0/12", "172.18.0.5", "172.18.0.1"},
|
||||
Loopback: true,
|
||||
},
|
||||
ProxyHeader: "X-Forwarded-For",
|
||||
})
|
||||
|
||||
var app = model.AppType{
|
||||
|
Reference in New Issue
Block a user