prod setup
This commit is contained in:
15
Caddyfile
15
Caddyfile
@@ -1,17 +1,12 @@
|
||||
# Reverse-proxy config for temp.sk.
|
||||
#
|
||||
# This file is intended to be imported by the central Caddyfile on the server.
|
||||
# Caddy provisions and renews the HTTPS certificate automatically.
|
||||
|
||||
gitara.farmeris.sk {
|
||||
encode gzip
|
||||
encode gzip
|
||||
|
||||
@static path /static/*
|
||||
header @static Cache-Control "public, max-age=2592000"
|
||||
@static path /static/*
|
||||
header @static Cache-Control "public, max-age=2592000"
|
||||
|
||||
reverse_proxy universal-web:5150
|
||||
reverse_proxy gitara-web:5150
|
||||
}
|
||||
|
||||
www.gitara.farmeris.sk {
|
||||
redir https://temp.sk{uri} permanent
|
||||
redir https://gitara.farmeris.sk{uri} permanent
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user