Add mastodon
This commit is contained in:
parent
740b1f4ae7
commit
23cb3bfeec
2 changed files with 15 additions and 3 deletions
|
@ -289,14 +289,16 @@ frontend frontend_default
|
|||
http-request redirect prefix https://%[hdr(host),regsub(^www\.,,i)] code 301 if { hdr_beg(host) -i www. }
|
||||
|
||||
acl letsencrypt path_beg /.well-known/acme-challenge/
|
||||
|
||||
|
||||
acl laminar hdr(host) -i laminar.benoit.jp.net
|
||||
acl forgejo hdr(host) -i forgejo.benoit.jp.net
|
||||
acl mastodon hdr(host) -i mastodon.benoit.jp.net
|
||||
#http-request deny if flux !JP !letsencrypt
|
||||
#http-request deny if dns !JP !SG !letsencrypt
|
||||
|
||||
|
||||
use_backend letsencrypt if letsencrypt
|
||||
use_backend laminar if laminar
|
||||
use_backend forgejo if forgejo
|
||||
use_backend mastodon if mastodon
|
||||
|
||||
default_backend default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue