Browse Source
🐛 Fix 403 when the frontend has a directory without an index.html (#1094)
pull/13907/head
Sebastián Ramírez
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
frontend/nginx.conf
|
@ -4,7 +4,7 @@ server { |
|
|
location / { |
|
|
location / { |
|
|
root /usr/share/nginx/html; |
|
|
root /usr/share/nginx/html; |
|
|
index index.html index.htm; |
|
|
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; |
|
|
include /etc/nginx/extra-conf.d/*.conf; |
|
|