nginx proxy_pass中加入变量出现502 gateway错误
server { listen 80; location /{ set $myvariable www; proxy_pass http://$myvariable.example.com; } }运行后出现502错误,请问怎么办?
nginx proxy_pass中加入变量出现502 gateway错误
server { listen 80; location /{ set $myvariable www; proxy_pass http://$myvariable.example.com; } }运行后出现502错误,请问怎么办?