🐛 Fix 403 when the frontend has a directory without an index.html (#1094)

This commit is contained in:
Sebastián Ramírez
2024-03-17 08:43:31 -05:00
committed by GitHub
parent fa7d42eddd
commit 6aa2296dea

View File

@@ -4,7 +4,7 @@ server {
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;