04 2018 档案
nginx填坑补充(nginx根据上下文跳转ip或者域名)
摘要:今天有一个需求,要根据上下文调到不同的ip或域名地址,使用上下文做域名跳转的时候,proxy_pass域名后面一定要带‘/’否则会把nginx的上下文自动带入,这样就行。 location ^~ /docs/ { root html; add_header Cache-Control no-stor
阅读全文
浙公网安备 33010602011771号