Skip to content

Instantly share code, notes, and snippets.

@sagar2009kumar
Created August 24, 2020 11:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save sagar2009kumar/049a9f3742d8fcf5f7a39d17d2cd83a6 to your computer and use it in GitHub Desktop.
Nginx configuration file for varnish and magento.
upstream fastcgi_backend {
server unix:/run/php/php7.2-fpm.sock;
}
server {
listen 8080;
server_name magento.local;
set $MAGE_ROOT /var/www/html/magento;
include /var/www/html/magento/nginx.conf.sample;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment