From d08edd9c24c4c1d1ceba2d3b7ccdaed282b62494 Mon Sep 17 00:00:00 2001 From: zeldaroot Date: Sat, 16 Oct 2021 23:33:09 +0300 Subject: [PATCH] Forced www redirection has been removed in Nginx (issue: https://github.com/CinemaPress/CinemaPress/issues/20) --- config/default/nginx/conf.d/default.conf | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/config/default/nginx/conf.d/default.conf b/config/default/nginx/conf.d/default.conf index 08f8928c..e6b22a42 100644 --- a/config/default/nginx/conf.d/default.conf +++ b/config/default/nginx/conf.d/default.conf @@ -14,19 +14,6 @@ upstream example_com { #ftp } -server { - - listen 80; - listen [::]:80; - - #ssl include /home/example.com/config/production/nginx/ssl.d/default.conf; - - server_name www.example.com; - - return 301 $scheme://example.com$request_uri; - -} - server { listen 80;