mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-22 07:56:49 +00:00
Commented out dashboard configuration in traefik.yml
This commit is contained in:
+19
-19
@@ -1,8 +1,8 @@
|
|||||||
log:
|
log:
|
||||||
level: DEBUG
|
level: DEBUG
|
||||||
api:
|
# api:
|
||||||
# Dashboard
|
# Dashboard
|
||||||
dashboard: true
|
# dashboard: true
|
||||||
# https://docs.traefik.io/master/operations/api/#insecure
|
# https://docs.traefik.io/master/operations/api/#insecure
|
||||||
# insecure: true
|
# insecure: true
|
||||||
|
|
||||||
@@ -36,20 +36,20 @@ certificatesResolvers:
|
|||||||
|
|
||||||
http:
|
http:
|
||||||
routers:
|
routers:
|
||||||
dashboard:
|
# dashboard:
|
||||||
rule: "Host(`dashboard.furyhawk.lol`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))"
|
# rule: "Host(`dashboard.furyhawk.lol`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))"
|
||||||
entryPoints:
|
# entryPoints:
|
||||||
- web-secure
|
# - web-secure
|
||||||
service: api@internal
|
# service: api@internal
|
||||||
middlewares:
|
# middlewares:
|
||||||
- auth
|
# - auth
|
||||||
tls:
|
# tls:
|
||||||
# https://docs.traefik.io/master/routing/routers/#certresolver
|
# # https://docs.traefik.io/master/routing/routers/#certresolver
|
||||||
certResolver: letsencrypt
|
# certResolver: letsencrypt
|
||||||
domains:
|
# domains:
|
||||||
- main: "furyhawk.lol"
|
# - main: "furyhawk.lol"
|
||||||
sans:
|
# sans:
|
||||||
- "*.furyhawk.lol"
|
# - "*.furyhawk.lol"
|
||||||
|
|
||||||
web-secure-router:
|
web-secure-router:
|
||||||
rule: "Host(`furyhawk.lol`, `www.furyhawk.lol`, `bai.furyhawk.lol`) || PathPrefix(`/bai`)"
|
rule: "Host(`furyhawk.lol`, `www.furyhawk.lol`, `bai.furyhawk.lol`) || PathPrefix(`/bai`)"
|
||||||
@@ -111,9 +111,9 @@ http:
|
|||||||
- "*.furyhawk.lol"
|
- "*.furyhawk.lol"
|
||||||
|
|
||||||
middlewares:
|
middlewares:
|
||||||
auth:
|
# auth:
|
||||||
basicAuth:
|
# basicAuth:
|
||||||
users: "{{env "DASHBOARD_USER"}}:{{env "DASHBOARD_PASSWORD"}}"
|
# users: "{{env "DASHBOARD_USER"}}:{{env "DASHBOARD_PASSWORD"}}"
|
||||||
csrf:
|
csrf:
|
||||||
# https://doc.traefik.io/traefik/middlewares/http/headers/#hostsproxyheaders
|
# https://doc.traefik.io/traefik/middlewares/http/headers/#hostsproxyheaders
|
||||||
# https://docs.djangoproject.com/en/dev/ref/csrf/#ajax
|
# https://docs.djangoproject.com/en/dev/ref/csrf/#ajax
|
||||||
|
|||||||
Reference in New Issue
Block a user