Fix unrecognized URLs in Nginx in Docker

This commit is contained in:
Adrien Pavie
2023-12-05 16:10:25 +01:00
parent 70b252bf8b
commit 52d3f27b6d
2 changed files with 8 additions and 0 deletions

View File

@@ -12,6 +12,9 @@ Before _0.1.0_, website development was on rolling release, meaning there are no
### Changed
- GeoVisio web viewer updated to [2.3.0](https://gitlab.com/geovisio/web-viewer/-/compare/2.2.1...2.3.0)
### Fixed
- Nginx server in Docker container was not recognizing routes other than `/` on first loading.
## [2.2.3] - 2023-11-03

View File

@@ -18,5 +18,10 @@ http {
root /usr/share/nginx/html;
gzip_static on;
location / {
root /usr/share/nginx/html;
try_files $uri /index.html;
}
}
}