emacs-survey-server/Caddyfile

20 lines
343 B
Caddyfile

emacssurvey.tecosaur.net emacssurvey.org
@dynamic {
not path /css/*
not path /faq.html
not path /favicon.ico
not path /robots.txt
}
reverse_proxy @dynamic localhost:8000
root * /opt/emacs-survey/public
file_server
handle_errors {
rewrite * /{err.status_code}
reverse_proxy https://http.cat {
header_up Host {upstream_hostport}
}
}