We have by far the largest RPM repository with NGINX module packages and VMODs for Varnish. If you want to install NGINX, Varnish, and lots of useful performance/security software with smooth
Active subscription is required.
yum
upgrades for production use, this is the repository for you.
Active subscription is required.
Sometimes you want to make Nginx ignore a parameter passed in page request.
Here is a short snippet to do that:
if ($query_string ~ "^(.*)gclid=(.*)$") {
rewrite ^(.*)$ $uri? permanent;
}
This comes useful in case you run a Magento store with some SEO plugins that redirect to base URL of every page, but want the specific parameter (gclid in this case) to be retained, for integration with Javascript code (Google Analytics).