在文档和 docker 模板中都是:
location /notification/ping {
proxy_pass http://127.0.0.1:8083/ping;
...
location /notification {
proxy_pass http://127.0.0.1:8083/;
...
但看源码,似乎没有必要保留路径前缀 /notification
,应该是:
location /notification {
rewrite ^/notification(.*)$ $1 break;
proxy_pass http://127.0.0.1:8083/;
...