Skip to content

Commit

Permalink
Update default
Browse files Browse the repository at this point in the history
  • Loading branch information
universalbit-dev authored Aug 1, 2024
1 parent 28d78db commit 6e04f79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nginx/04/default
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
server {
listen 80;
listen [::]:80;
server_name 192.168.1.144;
server_name armadillium04;
return 301 https://$server_name$request_uri;
}

server {
server_name 192.168.1.144;
server_name armadillium04;
listen 8001;
return 301 https://$host$request_uri;
}
Expand All @@ -22,7 +22,7 @@ upstream websocket {
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name 192.168.1.144;
server_name armadillium04;
root /usr/share/nginx/html;
ssl_certificate /etc/nginx/ssl/host.cert;
ssl_certificate_key /etc/nginx/ssl/host.key;
Expand Down

0 comments on commit 6e04f79

Please sign in to comment.