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

Commit a6a6a76

Browse files
authored
🐛 Fix 403 errors when the url points to a directory without an index.html (#5)
1 parent 6f0107e commit a6a6a76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nginx.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
server {
22
listen 80;
3-
3+
44
location / {
55
root /usr/share/nginx/html;
66
index index.html index.htm;
7-
try_files $uri $uri/ /index.html =404;
7+
try_files $uri /index.html =404;
88
}
9-
9+
1010
include /etc/nginx/extra-conf.d/*.conf;
1111
}

0 commit comments

Comments
 (0)