mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-02 22:01:52 +00: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:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user