Redirect old /web links

main v3.5.3+1.1.0
Jeremy Kescher 2 years ago
parent 30223ea224
commit 06c090fda5
No known key found for this signature in database
GPG Key ID: 48DFE4BB15BA5940

8
dist/nginx.conf vendored

@ -56,6 +56,14 @@ server {
try_files $uri @proxy;
}
location /web {
return 301 /$is_args$args;
}
location ~ ^/web(\/.*) {
return 301 $1$is_args$args;
}
# If Docker is used for deployment and Rails serves static files,
# then needed must replace line `try_files $uri =404;` with `try_files $uri @proxy;`.
location = sw.js {

Loading…
Cancel
Save