📜  nginx if location proxy_pass 示例 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:31.844000             🧑  作者: Mango

代码示例1
location /some/path/ {
    proxy_pass http://www.example.com/link/;
}

location ~ \.php {
    proxy_pass http://127.0.0.1:8000;
}