docs/install: fix nginx redirection

This commit is contained in:
rr- 2016-04-01 12:42:47 +02:00
parent e0af5eff27
commit 3b996d01e5

View file

@ -123,7 +123,7 @@ server {
return 302 /api/;
}
location ~ ^/api/(.*)$ {
proxy_pass http://127.0.0.1:6666/$2$is_args$args;
proxy_pass http://127.0.0.1:6666/$1$is_args$args;
}
location / {
root /home/rr-/src/maintained/szurubooru/public;