mirror of
https://github.com/RYDE-WORK/full-stack-fastapi-template.git
synced 2026-01-19 13:13:25 +08:00
🐛 Fix 403 when the frontend has a directory without an index.html (#1094)
This commit is contained in:
parent
fa7d42eddd
commit
6aa2296dea
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user