more tls disabling
This commit is contained in:
parent
6008234f62
commit
707b9a82dd
2 changed files with 8 additions and 4 deletions
|
@ -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/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y caddy \
|
||||
&& apt-get install -y caddy procps \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install binaries with correct permissions
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
{
|
||||
admin off
|
||||
auto_https off
|
||||
http_port 8080
|
||||
https_port 0
|
||||
|
||||
log {
|
||||
output stderr
|
||||
format console
|
||||
level INFO
|
||||
}
|
||||
|
||||
storage file_system {
|
||||
root /app/run/caddy
|
||||
}
|
||||
}
|
||||
|
||||
:8080 {
|
||||
|
@ -33,9 +40,6 @@
|
|||
reverse_proxy unix//app/run/gunicorn.sock
|
||||
}
|
||||
|
||||
respond /healthz "OK" 200
|
||||
header Cache-Control no-cache
|
||||
|
||||
# Basic compression for better performance
|
||||
encode gzip
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue