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