mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 01:20:24 +03:00
Added json extension to the list of known static files that have to fall back to 404 on nginx
This commit is contained in:
parent
e9fc2bb73a
commit
66124370a6
3 changed files with 3 additions and 1 deletions
1
.github/ISSUE_TEMPLATE/Bug.md
vendored
1
.github/ISSUE_TEMPLATE/Bug.md
vendored
|
@ -16,6 +16,7 @@ With that said, please fill in the information requested next. More information
|
|||
#### Shlink web client version
|
||||
|
||||
* Version: x.y.z
|
||||
* How do you use shlink-web-client: app.shlink.io|Docker image|self-hosted
|
||||
|
||||
#### Summary
|
||||
|
||||
|
|
1
.github/ISSUE_TEMPLATE/Question_Support.md
vendored
1
.github/ISSUE_TEMPLATE/Question_Support.md
vendored
|
@ -16,6 +16,7 @@ With that said, please fill in the information requested next. More information
|
|||
#### Shlink web client version
|
||||
|
||||
* Version: x.y.z
|
||||
* How do you use shlink-web-client: app.shlink.io|Docker image|self-hosted
|
||||
|
||||
#### Summary
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ server {
|
|||
index index.html;
|
||||
|
||||
# When requesting static paths with extension, try them, and return a 404 if not found
|
||||
location ~ .+\.(css|js|html|png|jpg|jpeg|gif|bmp|ico|csv|otf|eot|svg|svgz|ttf|woff|woff2|ijmap|pdf|tif|map) {
|
||||
location ~ .+\.(css|js|html|png|jpg|jpeg|gif|bmp|ico|json|csv|otf|eot|svg|svgz|ttf|woff|woff2|ijmap|pdf|tif|map) {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue