Indi
Mereith's Blog mereith.com

之前部署 code-server 需要根据不同的路径反代不同的后端,并且还要在反代时根据正则做匹配。但一直没找到完美的方案,后来在 strapi 的文档找到了好用的配置,如下: location /test/ { rewrite ^/test/?(.*)$ /$1 break; proxy_pass http://strapi; proxy_http_version 1.1; proxy_set_…

讨论

还没有评论,来说第一句吧。

Mereith's Blog 的其他文章