This repository has been archived on 2024-11-01. You can view files and clone it, but cannot push or open issues or pull requests.
services/caddy/config/conf.d/serguzim.me.conf

12 lines
317 B
Text

serguzim.me {
header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload"
redir https://www.serguzim.me{uri}
}
www.serguzim.me {
import default
rewrite * /function/webpage-serguzim-me{uri}
reverse_proxy https://faas.serguzim.me {
header_up Host {http.reverse_proxy.upstream.hostport}
}
}