Move nextcloud external access to traefik.

This commit is contained in:
rblundon committed 2026-04-18 21:51:28 -05:00
1 parent 9961fe1ed4
commit 69b91a2e1d
4 files changed
+7 -3

No files matched your search

+1
View File
@@ -79,6 +79,7 @@ services:
- APACHE_SERVER_NAME=the-grid.local.mk-labs.cloud
# Reverse proxy — lightning-lane IP only
- TRUSTED_PROXIES=10.1.71.35
- SKIP_DOMAIN_VALIDATION=true
- OVERWRITEPROTOCOL=https
- OVERWRITECLIURL=https://the-grid.mk-labs.cloud
networks:
+2
View File
@@ -24,6 +24,8 @@ services:
- "--entrypoints.websecure.http.tls.certResolver=cloudflare"
- "--entrypoints.websecure.http.tls.domains[0].main=local.mk-labs.cloud"
- "--entrypoints.websecure.http.tls.domains[0].sans=*.local.mk-labs.cloud"
- "--entrypoints.websecure.http.tls.domains[1].main=mk-labs.cloud"
- "--entrypoints.websecure.http.tls.domains[1].sans=*.mk-labs.cloud"
# ACME / Cloudflare DNS-01
- "--certificatesresolvers.cloudflare.acme.email=ryan.blundon@protonmail.com"
- "--certificatesresolvers.cloudflare.acme.storage=/var/traefik/certs/acme.json"
+2 -2
View File
@@ -1,7 +1,7 @@
http:
routers:
nextcloud:
rule: "Host(`nextcloud.local.mk-labs.cloud`) || Host(`the-grid.local.mk-labs.cloud`)"
rule: "Host(`nextcloud.local.mk-labs.cloud`) || Host(`the-grid.local.mk-labs.cloud`) || Host(`the-grid.mk-labs.cloud`)"
entryPoints:
- websecure
tls:
@@ -21,4 +21,4 @@ http:
nextcloud:
loadBalancer:
servers:
- url: "http://the-grid.local.mk-labs.cloud:80"
- url: "http://10.1.71.128:80"