Skip to content

Commit

Permalink
Fixes problems with HTTP redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
fako committed Feb 19, 2021
1 parent 2796618 commit cb807b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deploy/server/nginx/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ upstream dsdata {


server {
server_name *.data-scope.com;
server_name data-scope.com *.data-scope.com;
listen 80;
return 301 https://data-scope.com$request_uri;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
server {
server_name *.goodfashionfriend.com;
server_name goodfashionfriend.com *.goodfashionfriend.com;
listen 80;
return 301 https://goodfashionfriend.com$request_uri;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
server {
server_name *.goodfashionfriend.nl;
server_name goodfashionfriend.nl *.goodfashionfriend.nl;
listen 80;
return 301 https://goodfashionfriend.nl$request_uri;
}


server {
server_name *.goodfashionfriend.nl;
server_name goodfashionfriend.nl *.goodfashionfriend.nl;
listen 443 ssl;
ssl_certificate /etc/nginx/certificates/goodfashionfriend-nl.crt;
ssl_certificate_key /etc/nginx/certificates/goodfashionfriend-nl.key;
Expand Down

0 comments on commit cb807b5

Please sign in to comment.