Add caddy config
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user