mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 08:25:57 +00:00
Update Dockerfile and traefik.yml***
This commit is contained in:
@@ -2,4 +2,5 @@ FROM traefik:v2.11
|
|||||||
RUN mkdir -p /etc/traefik/acme \
|
RUN mkdir -p /etc/traefik/acme \
|
||||||
&& touch /etc/traefik/acme/acme.json \
|
&& touch /etc/traefik/acme/acme.json \
|
||||||
&& chmod 600 /etc/traefik/acme/acme.json
|
&& chmod 600 /etc/traefik/acme/acme.json
|
||||||
COPY ./compose/traefik/traefik.yml /etc/traefik
|
COPY ./compose/traefik/traefik.yml /etc/traefik
|
||||||
|
COPY usersfile /etc/traefik
|
||||||
@@ -113,7 +113,7 @@ http:
|
|||||||
middlewares:
|
middlewares:
|
||||||
auth:
|
auth:
|
||||||
basicAuth:
|
basicAuth:
|
||||||
usersFile: "usersfile"
|
usersFile: "/etc/traefik/usersfile"
|
||||||
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