mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 07:08:07 +01:00
Redirect old /web links
This commit is contained in:
parent
30223ea224
commit
06c090fda5
1 changed files with 8 additions and 0 deletions
8
dist/nginx.conf
vendored
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…
Reference in a new issue