≡ Menu

Nginx

mod_extforward: Lighttpd Log Clients Real IP Behind Reverse Proxy / Load Balancer

I‘ve setup 5 lighttpd web servers behind Nginx based reverse proxy / load balancer to distribute load for busy e-commerce website. However, all web server nodes putting my load balncers two IP address in access log file. How do I force lighttpd to log a real IP (public IP) address of all client computers visiting our website?
[click to continue…]

Sysadmin because even developers need heroes!!!

Nginx Block And Deny IP Address OR Network Subnets

How do I block or deny access based on the host name or IP address of the client visiting website under nginx web server?
[click to continue…]

Linux: Restart Nginx WebServer

How do I restart nginx web server under Linux operating systems using command line options?
[click to continue…]

Bash Shell Loop Over Set of Files

How do I run shell loop over set of files stored in a current directory or specified directory?
[click to continue…]

Test PHP Installation With a Phpinfo page under UNIX / Linux Apache Web Server

How do I test php installation with a phpinfo() page under UNIX / Linux Apache / nginx / lighttpd web server?
[click to continue…]