Skip to content

Instantly share code, notes, and snippets.

@hinst
Created September 21, 2017 17:44
Show Gist options
  • Save hinst/4f3297078b8bc1a6e9723798f5fe4aaf to your computer and use it in GitHub Desktop.
Save hinst/4f3297078b8bc1a6e9723798f5fe4aaf to your computer and use it in GitHub Desktop.
Caddyfile
https://hinst.ru
proxy /FogBugzBackup localhost:9000
proxy /FogBugzBackupApi localhost:9000
proxy /massd2d localhost:9001
redir {
if {path} is /
/ /xyz
}
gzip
log log/requests.txt {
rotate_size 50
rotate_age 30
rotate_keep 20
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment