ansible-infra/resources/chaosknoten/mumble/nginx/mumble.hamburg.ccc.de.conf
June 18f8ae3e7c
modernize nginx configurations accross all hosts
Move to the TLSRef configuration generators Intermediate configuration
profile as of 2026-12-04 with HSTS on and OCSP Stapling off.
https://configurator.tlsref.org/#server=nginx&version=1.27.3&config=intermediate&openssl=4.0.1&hsts&guideline=6.0
Adjust the nginx roles tls.conf accordingly, modernize the hosts configs
use of http2 and remove statements previously used because of OCSP
stapling (ssl_trusted_certificate and resolver).

Don't do OCSP stapling anymore, since it's deprecated.
https://letsencrypt.org/2024/12/05/ending-ocsp
2026-12-04 16:56:26 +01:00

26 lines
803 B
Text

server {
root /var/www/html;
server_name mumble.hamburg.ccc.de; # managed by Certbot
listen [::]:443 ssl ipv6only=on; # managed by Certbot
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/mumble.hamburg.ccc.de/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/mumble.hamburg.ccc.de/privkey.pem; # managed by Certbot
# HSTS (ngx_http_headers_module is required) (63072000 seconds)
add_header Strict-Transport-Security "max-age=63072000" always;
location /static {
alias /opt/mailman/web/static;
autoindex off;
}
location / {
return 302 https://wiki.hamburg.ccc.de/infrastructure:services:mumble;
}
location /metrics {
proxy_pass http://127.0.0.1:9123/;
}
}