Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my.domain.com {
- ext .html .htm .php
- root /www/caddy
- tls myemail@email.com
- header / {
- X-Content-Type-Options nosniff
- X-XSS-Protection "1; mode=block"
- Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
- }
- proxy /site1 127.0.0.1:8080 {
- transparent
- }
- proxy /site2 127.0.0.1:8989 {
- transparent
- }
- proxy /site3 127.0.0.1:8181 {
- header_upstream X-Forwarded-Host {host}
- transparent
- }
- proxy /site4 127.0.0.1:7878 {
- transparent
- }
- rewrite {
- if {>Referer} has /glances
- to /glances/{path}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement