This commit is contained in:
@@ -20,14 +20,25 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
# The `http2 on;` directive only exists from nginx 1.25.1; on older builds
|
||||||
listen [::]:443 ssl;
|
# (Debian bookworm ships 1.22, Ubuntu 22.04 ships 1.18) it is an unknown
|
||||||
http2 on;
|
# directive and the config will not load. This form works everywhere, at the
|
||||||
|
# price of a deprecation warning on 1.25.1+.
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
server_name scribe.luxick.de;
|
server_name scribe.luxick.de;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/scribe.luxick.de/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/scribe.luxick.de/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/scribe.luxick.de/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/scribe.luxick.de/privkey.pem;
|
||||||
|
|
||||||
|
# `certbot certonly` issues the certificate and stops there - unlike the nginx
|
||||||
|
# plugin it never writes an `options-ssl-nginx.conf` include, so the protocol
|
||||||
|
# and session settings have to live here.
|
||||||
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||||||
|
ssl_prefer_server_ciphers off;
|
||||||
|
ssl_session_cache shared:SSL:10m;
|
||||||
|
ssl_session_timeout 1d;
|
||||||
|
|
||||||
root /var/www/brevyscribe;
|
root /var/www/brevyscribe;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user