fix /portals and /stats rewrites (#561)
This commit is contained in:
parent
e201b8de8f
commit
cd7696c97d
|
@ -54,9 +54,9 @@ server {
|
|||
client_max_body_size 128k;
|
||||
|
||||
# legacy endpoint rewrite
|
||||
rewrite /portals /skynet/portals permanent;
|
||||
rewrite /stats /skynet/stats permanent;
|
||||
rewrite /skynet/blacklist /skynet/blocklist permanent;
|
||||
rewrite ^/portals /skynet/portals permanent;
|
||||
rewrite ^/stats /skynet/stats permanent;
|
||||
rewrite ^/skynet/blacklist /skynet/blocklist permanent;
|
||||
|
||||
location / {
|
||||
# This is only safe workaround to reroute based on some conditions
|
||||
|
|
Reference in New Issue