Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
add caddy config for gnulinuxsa
Browse files Browse the repository at this point in the history
  • Loading branch information
FarisZR committed Feb 3, 2024
1 parent 7aebad4 commit 69a4bec
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions caddy/configs/gnulinuxsa-wordpress.caddyfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
gnulinuxsa.org {
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
}
handle_errors {
# handle_errors is only triggerd on erros from Caddy and not the proxy, that's why we don't specifiy any errors here.
rewrite * /proxy_error_page.html
file_server {
root /srv/
}
}
reverse_proxy gnulinuxsa-wordpress:80
encode zstd gzip
}

0 comments on commit 69a4bec

Please sign in to comment.