mirror of
https://github.com/fruworg/infrastructure.git
synced 2025-01-18 06:30:51 +03:00
Update Caddyfile
This commit is contained in:
parent
f74a1061a6
commit
33160d78b1
@ -3,9 +3,21 @@
|
|||||||
acme_dns google_domains {$CADDY_API_KEY}
|
acme_dns google_domains {$CADDY_API_KEY}
|
||||||
}
|
}
|
||||||
|
|
||||||
fruw.org {
|
fruw.org, fruw.org:8448 {
|
||||||
root * /var/caddy/hugo
|
# hugo
|
||||||
file_server
|
file_server
|
||||||
|
root * /var/caddy/hugo
|
||||||
|
handle_errors {
|
||||||
|
@404-410 expression `{err.status_code} in [404, 410]`
|
||||||
|
handle @404-410 {
|
||||||
|
file_server
|
||||||
|
root * /var/caddy/hugo
|
||||||
|
rewrite * /404.html
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# matrix
|
||||||
|
reverse_proxy /_matrix/* localhost:50003
|
||||||
}
|
}
|
||||||
|
|
||||||
ok.fruw.org {
|
ok.fruw.org {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user