location / proxy pass code example Example: pass proxy nginx location ~ \.php { proxy_pass http://127.0.0.1:8000; }