Category "proxypass"

Nginx: log the actual forwarded proxy_pass request URI to upstream

I've got the following nginx conf: http { log_format upstream_logging '[proxied request] ' '$server_name$request_uri -> $ups

Setup nginx not to crash if host in upstream is not found

We have several rails apps under common domain in Docker, and we use nginx to direct requests to specific apps. our_dev_server.com/foo # proxies to foo app our

Nginx proxy_pass with $remote_addr

I'm trying to include $remote_addr or $http_remote_addr on my proxy_pass without success. The rewrite rule works location ^~ /freegeoip/ { rewrite ^ http: