Magento / NGINX / Varnish

Magento 2 Nginx Config for SSL termination & Varnish

by , , revisited on

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 yum upgrades for production use, this is the repository for you.
Active subscription is required.

This configuration fixes some errors in the NGINX configuration for Varnish that is shipped by Magento 2 team.
To use it, place the file into /etc/nginx/sites-available/ and make sure to replace example.com with your own store domain.


Take note of suggestions specified as comments in the file and make the appropriate action.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: