August 2017
Intermediate to advanced
278 pages
8h 53m
English
Here's our server block directive to proxy all requests through to port 8000 on the localhost:
server {
listen 80;
server_name proxy.nginxcookbook.com;
access_log /var/log/nginx/proxy-access.log combined;
location / {
proxy_pass http://127.0.0.1:8000;
}
}
Read now
Unlock full access