Skip to content

Commit

Permalink
Fixed nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
DerCed committed Feb 15, 2024
1 parent d5ae930 commit 2cf7926
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
server {
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;
}
index index.html;

error_page 404 /404.html;

location / {
try_files $uri $uri/ $uri.html =404;
}
}

0 comments on commit 2cf7926

Please sign in to comment.