diff --git a/_nginx/default.conf b/_nginx/default.conf index 3b12e72..d373936 100644 --- a/_nginx/default.conf +++ b/_nginx/default.conf @@ -1,8 +1,6 @@ server { - listen 80 default_server; - listen [::]:80 default_server; - - http2 on; + listen 80 default_server; + listen [::]:80 default_server; location ~ /.well-known/acme-challenge/ { root /var/www/certbot/; diff --git a/_template/nginx.conf b/_template/nginx.conf index 94df568..556e746 100644 --- a/_template/nginx.conf +++ b/_template/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/bazarr/nginx.conf b/bazarr/nginx.conf index 9c3b582..2037325 100644 --- a/bazarr/nginx.conf +++ b/bazarr/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/element/nginx.conf b/element/nginx.conf index 29a33eb..a3ba193 100644 --- a/element/nginx.conf +++ b/element/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/fdroid/default.conf b/fdroid/default.conf index 46dac16..91e21f0 100644 --- a/fdroid/default.conf +++ b/fdroid/default.conf @@ -2,8 +2,6 @@ server { listen 80; listen [::]:80; - http2 on; - location / { return 301 /repo/; } diff --git a/fdroid/nginx.conf b/fdroid/nginx.conf index f01d85b..1c7f4ee 100644 --- a/fdroid/nginx.conf +++ b/fdroid/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/fileserver/default.conf b/fileserver/default.conf index d1d99f3..c1a8923 100644 --- a/fileserver/default.conf +++ b/fileserver/default.conf @@ -2,8 +2,6 @@ server { listen 80; listen [::]:80; - http2 on; - autoindex on; autoindex_exact_size off; autoindex_localtime on; diff --git a/fileserver/nginx.conf b/fileserver/nginx.conf index 7361939..5f3b1e7 100644 --- a/fileserver/nginx.conf +++ b/fileserver/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/gitea/nginx.conf b/gitea/nginx.conf index 52a1d95..e6943d5 100644 --- a/gitea/nginx.conf +++ b/gitea/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/jellyfin/nginx.conf b/jellyfin/nginx.conf index 80feff8..0372186 100644 --- a/jellyfin/nginx.conf +++ b/jellyfin/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/lidarr/nginx.conf b/lidarr/nginx.conf index 5abbbcd..e6b627b 100644 --- a/lidarr/nginx.conf +++ b/lidarr/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/matrix/nginx.conf b/matrix/nginx.conf index 5b12270..d71a164 100644 --- a/matrix/nginx.conf +++ b/matrix/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/nextcloud/nginx.conf b/nextcloud/nginx.conf index 900dd0b..3249ec3 100644 --- a/nextcloud/nginx.conf +++ b/nextcloud/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/prowlarr/nginx.conf b/prowlarr/nginx.conf index 5322b93..6c10771 100644 --- a/prowlarr/nginx.conf +++ b/prowlarr/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/qbittorrent/nginx.conf b/qbittorrent/nginx.conf index 247b032..e717fe9 100644 --- a/qbittorrent/nginx.conf +++ b/qbittorrent/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/radarr/nginx.conf b/radarr/nginx.conf index 5d7a884..9d2a18d 100644 --- a/radarr/nginx.conf +++ b/radarr/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/readarr/nginx.conf b/readarr/nginx.conf index 34051e4..40d5224 100644 --- a/readarr/nginx.conf +++ b/readarr/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/searxng/nginx.conf b/searxng/nginx.conf index 89ba3c8..d8b6453 100644 --- a/searxng/nginx.conf +++ b/searxng/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/sonarr/nginx.conf b/sonarr/nginx.conf index 24e4d79..6cd6f07 100644 --- a/sonarr/nginx.conf +++ b/sonarr/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; } diff --git a/woodpecker/nginx.conf b/woodpecker/nginx.conf index 84b583c..f99f783 100644 --- a/woodpecker/nginx.conf +++ b/woodpecker/nginx.conf @@ -3,8 +3,6 @@ server { listen [::]:80; server_name $BASE_URL; - http2 on; - return 301 https://$host$request_uri; }