Refresh repository to match reality (Part1)

This commit is contained in:
Colin Hebert
2024-09-23 17:03:36 +02:00
parent 61020cae89
commit 1d52e2ac75
15 changed files with 218 additions and 55 deletions

View File

@@ -2,18 +2,11 @@ http:
middlewares:
authelia:
forwardAuth:
address: 'http://authelia:9091/api/verify?rd=https%3A%2F%2Fauthelia.{{ env `NASCOMPOSE_DOMAIN` }}%2F'
trustForwardHeader: true
authResponseHeaders:
- Remote-User
- Remote-Groups
- Remote-Name
- Remote-Email
authelia-basic:
forwardAuth:
address: http://authelia:9091/api/verify?auth=basic
address: http://authelia:9091/api/authz/forward-auth
trustForwardHeader: true
authResponseHeaders:
- Authorization
- Proxy-Authorization
- Remote-User
- Remote-Groups
- Remote-Name

View File

@@ -0,0 +1,39 @@
http:
middlewares:
compress:
compress:
includedContentTypes:
- application/atom+xml
- application/geo+json
- application/javascript
- application/x-javascript
- application/json
- application/ld+json
- application/manifest+json
- application/rdf+xml
- application/rss+xml
- application/vnd.ms-fontobject
- application/wasm
- application/x-web-app-manifest+json
- application/xhtml+xml
- application/xml
- font/eot
- font/otf
- font/ttf
- image/bmp
- image/svg+xml
- image/vnd.microsoft.icon
- image/x-icon
- text/cache-manifest
- text/calendar
- text/css
- text/html
- text/javascript
- text/markdown
- text/plain
- text/xml
- text/vcard
- text/vnd.rim.location.xloc
- text/vtt
- text/x-component
- text/x-cross-domain-policy

View File

@@ -2,7 +2,7 @@ http:
middlewares:
hsts:
headers:
frameDeny: true
customFrameOptionsValue: SAMEORIGIN
browserXssFilter: true
stsSeconds: 31536000 # 1 year
stsPreload: true

View File

@@ -1,7 +0,0 @@
http:
routers:
qbittorrent-api:
rule: 'Host(`qbittorrent-api.{{ env `NASCOMPOSE_DOMAIN` }}`)'
service: qbittorrent@docker
middlewares:
- authelia-basic@file

View File

@@ -1,8 +0,0 @@
http:
#TODO: Convert to inline configuration for traefik
# Allows internal services to use `http://traefik/` to use the traefik interface.
# Useful for tools like Heimdall which use the traefik API.
routers:
traefik-internal:
rule: Host(`traefik`)
service: api@internal