Nginx Reverse Proxy to LAMP server phpmyadmin access
Carlos
nginx-forum at nginx.us
Wed May 16 12:32:38 UTC 2012
Dear all ...
The above configuration (first part only needed)... was correct
This one:
server {
listen 80;
server_name DOMAIN.COM;
location / {
proxy_pass http://LAMP;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
Just was a mistake with my DNS.
Thanks!
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,226490,226501#msg-226501
More information about the nginx
mailing list