Update Nextcloud AIO configuration for IP binding and add middleware for secure headers

This commit is contained in:
2025-11-11 22:54:04 +01:00
parent 6fc9a29f54
commit 687967a989
2 changed files with 20 additions and 6 deletions
+19 -5
View File
@@ -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