Skip to content

Commit

Permalink
Forced www redirection has been removed in Nginx (issue: CinemaPress#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeldaroot committed Oct 16, 2021
1 parent ea2e117 commit d08edd9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions config/default/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d08edd9

Please sign in to comment.