2nd thought on HTTP/80, not needed in the end

This commit is contained in:
Mathilde Grünig 2022-12-07 14:04:00 +01:00
parent 1b731e2643
commit 37ccaddbbe
1 changed files with 0 additions and 15 deletions

View File

@ -4,21 +4,6 @@
# installation (http server by the Nodejs process). If you are using CryptPad
# in production and require professional support please contact sales@cryptpad.fr
server {
listen 80;
listen [::]:80;
server_name rage.love;
access_log /dev/null;
error_log /dev/null emerg;
# Let's Encrypt webroot
include letsencrypt-webroot;
# Redirect all HTTP requests to HTTPS with a 301 Moved Permanently response.
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;