chore(deploy): add production caddy setup
This commit is contained in:
15
deploy/caddy/Caddyfile
Normal file
15
deploy/caddy/Caddyfile
Normal file
@@ -0,0 +1,15 @@
|
||||
gapido.amiirkhl.ir {
|
||||
encode zstd gzip
|
||||
|
||||
header {
|
||||
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||||
X-Content-Type-Options "nosniff"
|
||||
X-Frame-Options "DENY"
|
||||
Referrer-Policy "strict-origin-when-cross-origin"
|
||||
Permissions-Policy "camera=(), microphone=(), geolocation=()"
|
||||
-Server
|
||||
}
|
||||
|
||||
reverse_proxy demo-app:8080
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user