Skip to content

Instantly share code, notes, and snippets.

View phughes3866's full-sized avatar
💭
Contemplating...

Paul Hughes phughes3866

💭
Contemplating...
  • Independent
  • UK
View GitHub Profile
@patrocle
patrocle / Nginx + Apache reverse proxy REAL IP.md
Last active March 3, 2025 14:01
Real IP for Apache (Nginx reverse proxy)

NGINX 1.10 + APACHE 2.4 real IP for reverse proxy

Edit nginx conf

default.conf or what you want

vim /etc/nginx/conf.d/default.conf

add proxy_set_header for php files