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