Modernization mainly, removed many host port options, added Traefik rule to passHostHeader
This commit is contained in:
@@ -20,14 +20,13 @@ services:
|
||||
traefik.frontend.headers.SSLRedirect: true
|
||||
traefik.frontend.headers.STSPreload: true
|
||||
traefik.frontend.headers.STSSeconds: 15552000
|
||||
traefik.frontend.passHostHeader: true
|
||||
traefik.frontend.rule: Host:${TRAEFIK_HOST}
|
||||
traefik.port: "80"
|
||||
### End Web Segment
|
||||
{{- else}}
|
||||
traefik.enable: false
|
||||
{{- end}}
|
||||
networks:
|
||||
- public-proxy
|
||||
{{- if .Values.WEB_PORT}}
|
||||
ports:
|
||||
- "${WEB_PORT}:80"
|
||||
@@ -37,8 +36,4 @@ services:
|
||||
{{- if eq .Values.PERSIST_CONF "true"}}
|
||||
- /RancherCattle/${DATA_DIR}/Configuration:/etc/nginx
|
||||
{{- end}}
|
||||
- /RancherCattle/${DATA_DIR}/HTML:/usr/share/nginx/html
|
||||
|
||||
networks:
|
||||
public-proxy:
|
||||
external: true
|
||||
- /RancherCattle/${DATA_DIR}/HTML:/usr/share/nginx/html
|
||||
Reference in New Issue
Block a user