This commit is contained in:
parent
dd86e963a6
commit
2e4fdba638
@ -1,6 +1,5 @@
|
|||||||
global
|
global
|
||||||
log /dev/log local0
|
log stdout format raw local0 debug
|
||||||
log /dev/log local1 notice
|
|
||||||
user root
|
user root
|
||||||
group root
|
group root
|
||||||
daemon
|
daemon
|
||||||
@ -20,13 +19,16 @@ listen database
|
|||||||
|
|
||||||
frontend http
|
frontend http
|
||||||
bind *:80
|
bind *:80
|
||||||
|
capture request header Host len 30
|
||||||
mode http
|
mode http
|
||||||
|
log-format "%ci:%cp [%t] %ft %b %s %Tq/%Ts/%Tr %Tc/%tt %ac/%fc/%bc/%sc/%rc %sq/%bq %hr %hu %H"
|
||||||
|
option httplog
|
||||||
|
|
||||||
acl is_portainer hdr_dom(host) -i portainer.szabolcsi.dev
|
acl is_portainer hdr_dom(host) -i portainer.szabolcsi.dev
|
||||||
use_backend portainer_backend if is_portainer
|
use_backend portainer_backend if is_portainer
|
||||||
|
|
||||||
http-request deny
|
default_backend portainer_backend
|
||||||
|
|
||||||
backend portainer_backend
|
backend portainer_backend
|
||||||
mode http
|
mode http
|
||||||
server portainer portainer_portainer:9000
|
server portainer portainer_portainer:9000 check
|
||||||
|
|||||||
@ -54,6 +54,7 @@ services:
|
|||||||
<<: *api-deployment
|
<<: *api-deployment
|
||||||
labels:
|
labels:
|
||||||
<<: *traefik-labels
|
<<: *traefik-labels
|
||||||
|
demo.label: "alma"
|
||||||
traefik.http.routers.gitea.rule: "Host(`gitea.szabolcsi.dev`)"
|
traefik.http.routers.gitea.rule: "Host(`gitea.szabolcsi.dev`)"
|
||||||
traefik.http.routers.gitea.entrypoints: "https"
|
traefik.http.routers.gitea.entrypoints: "https"
|
||||||
traefik.http.routers.gitea.tls: "true"
|
traefik.http.routers.gitea.tls: "true"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user