caddyfile
Some checks failed
CI / Check Style (push) Has been cancelled
CI / Run Clippy (push) Has been cancelled
CI / Run Tests (push) Has been cancelled

This commit is contained in:
Priec
2026-05-20 11:24:06 +02:00
parent a385b0540d
commit f92cb1f134
3 changed files with 19 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ Dockerfile
.dockerignore .dockerignore
docker-compose.prod.yml docker-compose.prod.yml
Makefile Makefile
Caddyfile
.git .git
.gitignore .gitignore

View File

@@ -2,7 +2,7 @@ CONTAINER_NAME=universal-web
REVERSE_PROXY_NETWORK= REVERSE_PROXY_NETWORK=
UPLOADS_VOLUME_NAME=universal_web_uploads UPLOADS_VOLUME_NAME=universal_web_uploads
APP_HOST= APP_HOST=https://gitara.farmeris.sk
PORT=5150 PORT=5150
SERVER_BINDING=0.0.0.0 SERVER_BINDING=0.0.0.0

17
Caddyfile Normal file
View 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
}