Update Nextcloud AIO configuration for IP binding and add middleware for secure headers
This commit is contained in:
@@ -43,14 +43,16 @@ http:
|
||||
# Nextcloud Main
|
||||
nextcloud:
|
||||
rule: "Host(`nextcloud.workstation`)"
|
||||
entryPoints:
|
||||
entrypoints:
|
||||
- websecure
|
||||
service: nextcloud
|
||||
middlewares:
|
||||
- nextcloud-chain
|
||||
tls: {}
|
||||
|
||||
# Dockmon
|
||||
dockmon:
|
||||
rule: "Host(`workstation`)"
|
||||
rule: "Host(`dcokmon.workstation`)"
|
||||
entryPoints:
|
||||
- websecure
|
||||
service: dockmon
|
||||
@@ -94,7 +96,7 @@ http:
|
||||
- url: "http://adguardhome:3000"
|
||||
|
||||
# Nextcloud AIO Interface
|
||||
nextcloud-aio:
|
||||
nextcloud:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "https://nextcloud-aio-mastercontainer:8080"
|
||||
@@ -103,7 +105,7 @@ http:
|
||||
nextcloud:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "https://nextcloud-aio-mastercontainer:8443"
|
||||
- url: "http://localhost:11000"
|
||||
|
||||
# Dockmon
|
||||
dockmon:
|
||||
@@ -145,4 +147,16 @@ http:
|
||||
stsIncludeSubdomains: true
|
||||
stsPreload: true
|
||||
stsSeconds: 31536000
|
||||
customFrameOptionsValue: "SAMEORIGIN"
|
||||
customFrameOptionsValue: "SAMEORIGIN"
|
||||
|
||||
# nextcloud-secure-headers:
|
||||
# headers:
|
||||
# hostsProxyHeaders:
|
||||
# - "X-Forwarded-Host"
|
||||
# referrerPolicy: "same-origin"
|
||||
|
||||
nextcloud-chain:
|
||||
chain:
|
||||
middlewares:
|
||||
- redirect-https
|
||||
# - nextcloud-secure-headers
|
||||
|
||||
Reference in New Issue
Block a user