Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
🐛 Fix 403 errors when the url points to a directory without an index.…
Browse files Browse the repository at this point in the history
…html (#5)
  • Loading branch information
jchorl authored Mar 17, 2024
1 parent 6f0107e commit a6a6a76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
server {
listen 80;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
try_files $uri /index.html =404;
}

include /etc/nginx/extra-conf.d/*.conf;
}

0 comments on commit a6a6a76

Please sign in to comment.