more tls disabling

This commit is contained in:
Tobias Brunner 2025-01-30 18:06:18 +01:00
parent 6008234f62
commit 707b9a82dd
No known key found for this signature in database
2 changed files with 8 additions and 4 deletions

View file

@ -16,7 +16,7 @@ RUN apt-get update && apt-get install -y \
&& curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg \ && curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg \
&& curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list \ && curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list \
&& apt-get update \ && apt-get update \
&& apt-get install -y caddy \ && apt-get install -y caddy procps \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install binaries with correct permissions # Install binaries with correct permissions

View file

@ -1,11 +1,18 @@
{ {
admin off admin off
auto_https off auto_https off
http_port 8080
https_port 0
log { log {
output stderr output stderr
format console format console
level INFO level INFO
} }
storage file_system {
root /app/run/caddy
}
} }
:8080 { :8080 {
@ -33,9 +40,6 @@
reverse_proxy unix//app/run/gunicorn.sock reverse_proxy unix//app/run/gunicorn.sock
} }
respond /healthz "OK" 200
header Cache-Control no-cache
# Basic compression for better performance # Basic compression for better performance
encode gzip encode gzip
} }