Skip to content

Commit

Permalink
nope
Browse files Browse the repository at this point in the history
  • Loading branch information
Morzaram committed Jan 8, 2024
1 parent 38af3eb commit 74b3cd4
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions default.conf
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
server {
listen 80;
return 301 https://$host$request_uri;
}

server {
listen 443 ssl;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
listen 80;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}

0 comments on commit 74b3cd4

Please sign in to comment.