moved acme_challenge backend
This commit is contained in:
@@ -28,7 +28,6 @@ frontend ContentSwitching
|
|||||||
|
|
||||||
# ACME challenge routing (must be first)
|
# ACME challenge routing (must be first)
|
||||||
acl is_acme path_beg /.well-known/acme-challenge/
|
acl is_acme path_beg /.well-known/acme-challenge/
|
||||||
use_backend acme_challenge if is_acme
|
|
||||||
|
|
||||||
# tmmworkshop.com
|
# tmmworkshop.com
|
||||||
acl host_audiobookshelf hdr(host) -i audiobookshelf.tmmworkshop.com
|
acl host_audiobookshelf hdr(host) -i audiobookshelf.tmmworkshop.com
|
||||||
@@ -45,6 +44,7 @@ frontend ContentSwitching
|
|||||||
# Redirect all HTTP to HTTPS unless on the allow list or ACME challenge
|
# Redirect all HTTP to HTTPS unless on the allow list or ACME challenge
|
||||||
http-request redirect scheme https code 301 if !{ ssl_fc } !allow_http !is_acme
|
http-request redirect scheme https code 301 if !{ ssl_fc } !allow_http !is_acme
|
||||||
|
|
||||||
|
use_backend acme_challenge if is_acme
|
||||||
use_backend audiobookshelf_nodes if host_audiobookshelf
|
use_backend audiobookshelf_nodes if host_audiobookshelf
|
||||||
use_backend cache_nodes if host_cache
|
use_backend cache_nodes if host_cache
|
||||||
use_backend jellyfin if host_jellyfin
|
use_backend jellyfin if host_jellyfin
|
||||||
|
|||||||
Reference in New Issue
Block a user