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 […]

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 ^(.*)$$1; proxy_set_header X-Real-IP $remote_addr; proxy_set_header […]