Add caddy config

This commit is contained in:
2020-08-24 00:53:58 +02:00
parent d6ab257473
commit 815770303c
3 changed files with 36 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
# Snippets
import log.caddy
import security.caddy
www.simplenotes.be {
redir * https://simplenotes.be{path}
}
simplenotes.be {
import log simplenotes.be
import strict-transport
header -Server
reverse_proxy http://localhost:8080
}
dev.simplenotes.be {
import log dev.simplenotes.be
import strict-transport
header -Server
reverse_proxy http://localhost:8081
}