Compare commits

..

No commits in common. "cab6ab2d8ed5095f8f4a45329dba1b1094339de5" and "7522c333da4ec7f371faf174ea02c6e2eba400c7" have entirely different histories.

6 changed files with 1 additions and 9 deletions

View File

@ -20,6 +20,7 @@
- docker
- traefik
- nextcloud
- gitea
- jenkins
- prometheus
- nginx

View File

@ -31,7 +31,6 @@ server {
{% if item.restrict is defined and item.restrict %}
auth_basic "{{ item.restrict_name | default('Restricted Access') }}";
auth_basic_user_file {{ item.restrict_file | default('/etc/nginx/.htpasswd') }};
proxy_set_header Authorization "";
{% endif %}
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;

View File

@ -3,10 +3,8 @@ traefik_dashboard: false
traefik_root: "/opt/{{ traefik_name }}"
traefik_localonly: "10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.0/8"
traefik_production: false
traefik_hsts_enable: false
traefik_hsts_preload: false
traefik_hsts_seconds: 0
traefik_http_redirect: false
traefik_ports:
- "80:80"
- "443:443"

View File

@ -10,12 +10,10 @@ http:
{% elif item.middlewares is defined %}
middlewares: "{{ item.middlewares }}"
{% endif %}
{% if traefik_acme_email is defined %}
tls:
certResolver: letsencrypt
domains:
- main: "{{ item.domain }}"
{% endif %}
entryPoints:
- "websecure"
services:

View File

@ -11,8 +11,6 @@ http:
sslRedirect: true
browserXssFilter: true
contentTypeNosniff: true
{% if traefik_hsts_enable is defined and traefik_hsts_enable %}
stsPreload: {{ traefik_hsts_preload }}
stsSeconds: {{ traefik_hsts_seconds }}
{% endif %}
customFrameOptionsValue: SAMEORIGIN

View File

@ -10,14 +10,12 @@ providers:
entrypoints:
web:
address: ':80'
{% if traefik_http_redirect is defined and traefik_http_redirect %}
http:
redirections:
entrypoint:
to: websecure
scheme: https
permanent: true
{% endif %}
websecure:
address: ':443'
http: