Magento / Nginx / Varnish

Magento 2 Nginx Config for SSL termination & Varnish

by , , revisited on


We have by far the largest RPM repository with dynamic stable NGINX modules and VMODs for Varnish 4.1 and 6.0 LTS. If you want to install nginx, Varnish and lots of useful modules for them, this is your one stop repository to get all performance related software.
You have to maintain an active subscription in order to be able to use the repository!

This configuration fixes some errors in 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 appropriate action.

Leave a Reply

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