NGINX Headers For Docker

In case you run docker behind nginx some of your container might need specific headers otherwise a browser trying to access them might want to connect to a local or private address, something like https://127.0.0.1:8080. […]

A little bit of nginx

Took me a moment to find out how to redirect a URL if the URL contains a certain word, in Nginx, here it is: location ~ \.xml$ { rewrite ^(.*)$ http://urltoberedirected.com/$1; proxy_set_header X-Real-IP $remote_addr; proxy_set_header […]