Thanks
That what I needed
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://myapp1;
}
Posted at Nginx Fo
Hello
I want to get the real ip of the client but I'm all ways getting the ip of
the ngnix server.
I trayed using set_real_ip:
http {
upstream myapp1 {
server 177.17.777.13:8080;
}
server {
listen 80;
real_ip_recursive
Hi all,
Is there a way to get the response headers from internal-requests?
p.s. I am using ngx.location.capture(uri) for the internal requests.
Thanks in advance.
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hi all,
How can I make sub-request to external resource (without returning it to
the user)?
The following commands are used only for internal resources:
ngx.location.capture
ngx.exec
any idea? :-)
Thanks in advance,
___
nginx mailing list
nginx@nginx.o
How can I configure nginx to manipulate the content of http-response, for
example filtering the content of the response by checksum?
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx