Modernization mainly, removed many host port options, added Traefik rule to passHostHeader

This commit is contained in:
William Miceli
2019-02-08 21:18:13 -05:00
parent 18de2ce331
commit 88bf2015b6
13 changed files with 36 additions and 97 deletions

View File

@@ -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