Official Win32 Binaries
As of NGINX 0.8.50, NGINX is now available as an official Windows binary.
Installation:
cd c:\
unzip nginx-1.2.3.zip
ren nginx-1.2.3 nginx
cd nginx
start nginx
Control:
nginx -s [ stop | quit | reopen | reload ]
For problems look in c:nginxlogserror.log or in EventLog.
Configuration:
server { listen 8070; location / { proxy_pass http://localhost:8089; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; } }
No comments:
Post a Comment