🐛(nginx) fix / location to handle new static pages
The / location is not trying the $uri/index.html file. We should try this instad of $uri/ because when a new static page is added, we always have this pattern.
This commit is contained in:
@@ -11,6 +11,10 @@ and this project adheres to
|
|||||||
- ♿(frontend) improve accessibility:
|
- ♿(frontend) improve accessibility:
|
||||||
- ♿(frontend) add skip to content button for keyboard accessibility #1624
|
- ♿(frontend) add skip to content button for keyboard accessibility #1624
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- 🐛(nginx) fix / location to handle new static pages
|
||||||
|
|
||||||
## [4.0.0] - 2025-12-01
|
## [4.0.0] - 2025-12-01
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ server {
|
|||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri index.html $uri/ =404;
|
try_files $uri index.html $uri/index.html =404;
|
||||||
|
|
||||||
add_header X-Frame-Options DENY always;
|
add_header X-Frame-Options DENY always;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user