Skip to content

Commit 54fe70d

Browse files
committed
🐛(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.
1 parent 1e37007 commit 54fe70d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ and this project adheres to
1111
- ♿(frontend) improve accessibility:
1212
- ♿(frontend) add skip to content button for keyboard accessibility #1624
1313

14+
### Fixed
15+
16+
- 🐛(nginx) fix / location to handle new static pages
17+
1418
## [4.0.0] - 2025-12-01
1519

1620
### Added

src/frontend/apps/impress/conf/default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ server {
66
root /usr/share/nginx/html;
77

88
location / {
9-
try_files $uri index.html $uri/ =404;
9+
try_files $uri index.html $uri/index.html =404;
1010

1111
add_header X-Frame-Options DENY always;
1212
}

0 commit comments

Comments
 (0)