chore: rename reverseproxy role to traffic

in case we get a nginx role oa in the future
This commit is contained in:
Bert-Jan Fikse 2025-11-07 15:03:56 +01:00
parent 24b4f291a3
commit 69bc95b992
Signed by: bert-jan
GPG key ID: C1E0AB516AC16D1A
12 changed files with 19 additions and 19 deletions

View file

@ -1,62 +0,0 @@
log:
level: {{ log_level }}
{% if enable_dashboard %}
api:
dashboard: true
insecure: true
{% endif %}
{% if enable_access_logs %}
accessLog:
format: {{ access_log_format }}
{% endif %}
entryPoints:
web:
address: ":80"
{% if use_ssl %}
http:
redirections:
entryPoint:
to: websecure
scheme: https
{% endif %}
websecure:
address: ":443"
providers:
{% if reverseproxy_mode == 'dmz' %}
file:
directory: /config
watch: true
{% endif %}
{% if reverseproxy_mode == 'backend' %}
docker:
endpoint: "unix:///var/run/docker.sock"
network: {{ traefik_network }}
exposedByDefault: false
{% endif %}
{% if use_ssl and cert_mode == 'acme' %}
certificatesResolvers:
{{ ssl_cert_resolver }}:
acme:
email: {{ ssl_email }}
storage: /letsencrypt/acme.json
dnsChallenge:
provider: rfc2136
resolvers:
- "{{ acme_dns_nameserver }}"
{% endif %}
{% if use_ssl %}
tls:
options:
default:
minVersion: VersionTLS12
{% endif %}
global:
checkNewVersion: false
sendAnonymousUsage: false