может кто-нибудь подсказать, как переписать последние 2 строки в конфигурации Nginx
location ^~ /kubeapps {
rewrite ^/kubeapps(/.*)$ $1 break;
proxy_pass http://<some_ip>:<port>;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
# need to replace these lines with some
# other directives with the same functionality
subs_filter href=/ href=http://<some_ip>:<port>/kubeapps;
subs_filter src=/ src=http://<some_ip>:<port>/kubeapps;
}
в какую-то другую форму? Причина в том, что я не могу использовать модуль, обеспечивающий директивы subs_filter .
Thx