56 lines
1.2 KiB
Caddyfile
56 lines
1.2 KiB
Caddyfile
|
|
stg.cmctechnologies.com.au {
|
||
|
|
reverse_proxy localhost:8081
|
||
|
|
encode gzip
|
||
|
|
header {
|
||
|
|
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||
|
|
X-Content-Type-Options "nosniff"
|
||
|
|
X-Frame-Options "SAMEORIGIN"
|
||
|
|
X-XSS-Protection "1; mode=block"
|
||
|
|
}
|
||
|
|
log {
|
||
|
|
output file /var/log/caddy/stg-access.log
|
||
|
|
format console
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
mail.stg.cmctechnologies.com.au {
|
||
|
|
basic_auth {
|
||
|
|
mailpit $2a$14$yTNicvMBIwF5cBNGnM3Ya.EIagOkP1Y0..qvMfdwUzUoN6Okw.nUG
|
||
|
|
}
|
||
|
|
reverse_proxy localhost:8025
|
||
|
|
}
|
||
|
|
|
||
|
|
localhost:2019 {
|
||
|
|
log_skip
|
||
|
|
}
|
||
|
|
|
||
|
|
prod.cmctechnologies.com.au {
|
||
|
|
reverse_proxy localhost:8080
|
||
|
|
encode gzip
|
||
|
|
header {
|
||
|
|
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||
|
|
X-Content-Type-Options "nosniff"
|
||
|
|
X-Frame-Options "SAMEORIGIN"
|
||
|
|
X-XSS-Protection "1; mode=block"
|
||
|
|
}
|
||
|
|
log {
|
||
|
|
output file /var/log/caddy/prod-access.log
|
||
|
|
format console
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
sales.cmctechnologies.com.au {
|
||
|
|
reverse_proxy localhost:8080
|
||
|
|
encode gzip
|
||
|
|
header {
|
||
|
|
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||
|
|
X-Content-Type-Options "nosniff"
|
||
|
|
X-Frame-Options "SAMEORIGIN"
|
||
|
|
X-XSS-Protection "1; mode=block"
|
||
|
|
}
|
||
|
|
log {
|
||
|
|
output file /var/log/caddy/prod-access.log
|
||
|
|
format console
|
||
|
|
}
|
||
|
|
}
|