Setup Instructions
turn off server tokens (Wed, 13 Mar 2024 19:38:00 +0000)
by Demigodrick@wiki.lemmy.zip
--- original
+++ modified
@@ -77,6 +77,7 @@
listen 80;
listen [::]:80;
server_name ibis.wiki;
+ server_tokens off;
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
@@ -89,7 +90,7 @@
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ibis.wiki;
-
+ server_tokens off;
ssl_certificate /etc/letsencrypt/live/ibis.wiki/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/ibis.wiki/privkey.pem;