chore: Renaming
This commit is contained in:
@@ -116,7 +116,7 @@ http:
|
||||
|
||||
# Auto-configured services - HTTPS
|
||||
{% for service_name, config in auto_configure_traefik.items() %}
|
||||
{% if config.auth_required | default(true) %}
|
||||
{% if config.internal | default(true) %}
|
||||
# {{ service_name }} - local IP bypass (no auth)
|
||||
{{ service_name }}-local:
|
||||
rule: "Host(`{{ config.subdomain }}.{{ domain }}`) && (ClientIP(`192.168.0.0/16`) || ClientIP(`10.0.0.0/8`) || ClientIP(`172.16.0.0/12`))"
|
||||
@@ -153,9 +153,9 @@ http:
|
||||
entryPoints:
|
||||
- https
|
||||
priority: 1
|
||||
{% if config.auth_required | default(true) or config.forward_https | default(false) %}
|
||||
{% if config.internal | default(true) or config.forward_https | default(false) %}
|
||||
middlewares:
|
||||
{% if config.auth_required | default(true) %}
|
||||
{% if config.internal | default(true) %}
|
||||
- pocketid-auth
|
||||
{% endif %}
|
||||
{% if config.forward_https | default(false) %}
|
||||
@@ -170,9 +170,9 @@ http:
|
||||
rule: "Host(`{{ config.subdomain }}.{{ domain }}`)"
|
||||
entryPoints:
|
||||
- https
|
||||
{% if config.auth_required | default(true) or config.forward_https | default(false) %}
|
||||
{% if config.internal | default(true) or config.forward_https | default(false) %}
|
||||
middlewares:
|
||||
{% if config.auth_required | default(true) %}
|
||||
{% if config.internal | default(true) %}
|
||||
- pocketid-auth
|
||||
{% endif %}
|
||||
{% if config.forward_https | default(false) %}
|
||||
|
||||
Reference in New Issue
Block a user