Skip to content

Instantly share code, notes, and snippets.

@apiworks
apiworks / mamp.nginx.magento1.conf.sample
Created November 6, 2017 09:20
Magento 1 NGINX config for MAMP Pro
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 September 19, 2022 14:01
Magento 2 NGINX config for MAMP Pro
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;