Skip to content

Instantly share code, notes, and snippets.

View felixd's full-sized avatar
🏠
Working from home

Paweł Wojciechowski felixd

🏠
Working from home
View GitHub Profile
@patrocle
patrocle / Nginx + Apache reverse proxy REAL IP.md
Last active April 25, 2024 15:02
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