caddyfile
This commit is contained in:
@@ -5,6 +5,7 @@ Dockerfile
|
||||
.dockerignore
|
||||
docker-compose.prod.yml
|
||||
Makefile
|
||||
Caddyfile
|
||||
|
||||
.git
|
||||
.gitignore
|
||||
|
||||
@@ -2,7 +2,7 @@ CONTAINER_NAME=universal-web
|
||||
REVERSE_PROXY_NETWORK=
|
||||
UPLOADS_VOLUME_NAME=universal_web_uploads
|
||||
|
||||
APP_HOST=
|
||||
APP_HOST=https://gitara.farmeris.sk
|
||||
PORT=5150
|
||||
SERVER_BINDING=0.0.0.0
|
||||
|
||||
|
||||
17
Caddyfile
Normal file
17
Caddyfile
Normal file
@@ -0,0 +1,17 @@
|
||||
# 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
|
||||
|
||||
@static path /static/*
|
||||
header @static Cache-Control "public, max-age=2592000"
|
||||
|
||||
reverse_proxy universal-web:5150
|
||||
}
|
||||
|
||||
www.gitara.farmeris.sk {
|
||||
redir https://temp.sk{uri} permanent
|
||||
}
|
||||
Reference in New Issue
Block a user