Skip to content

Instantly share code, notes, and snippets.

@apiworks
apiworks / mamp.nginx.magento1.conf.sample
Created Nov 6, 2017
Magento 1 NGINX config for MAMP Pro
View mamp.nginx.magento1.conf.sample
server {
listen 80;
server_name sample.loc;
set $MAGE_ROOT /Users/darkogoles/Sites/sample.loc;
access_log /usr/local/etc/nginx/logs/sample_access.log;
error_log /usr/local/etc/nginx/logs/sample_error.log;
root $MAGE_ROOT;
@apiworks
apiworks / mamp.nginx.magento.conf.sample
Last active May 15, 2018
Magento 2 NGINX config for MAMP Pro
View mamp.nginx.magento.conf.sample
server {
listen 80;
server_name site.loc;
set $MAGE_ROOT /Users/darkogoles/Sites/site.loc/http;
set $LARAVEL_ROOT /Users/darkogoles/Sites/site.loc/shipping/http;
root $MAGE_ROOT/pub;
index index.php;
You can’t perform that action at this time.