diff --git a/build/dist/web/nginx/content/.magento.un~ b/build/dist/web/nginx/content/.magento.un~ deleted file mode 100644 index cd9fa94..0000000 Binary files a/build/dist/web/nginx/content/.magento.un~ and /dev/null differ diff --git a/build/dist/web/nginx/content/magento~ b/build/dist/web/nginx/content/magento~ deleted file mode 100644 index 6888c97..0000000 --- a/build/dist/web/nginx/content/magento~ +++ /dev/null @@ -1,56 +0,0 @@ - -include "content/vars"; - -set $mageRunCode ""; -if ( $host ~ "^([^\.]+)\.([^\.]+)\.([^\.]+)(\..+)*\.magento(\.php5)?[DOMAINSUFFIX]$" ) { - set $mageRunCode "$3"; -} - -# Custom implementation for some projects -if ( -e /data/$customer/$project/magento ) { - set $htdocs "magento"; -} - -root /data/$customer/$project/$htdocs; - -gzip_types text/css application/x-javascript image/svg+xml; - -include "content/security"; - -# Deny a lot -location /app { - return 403; -} -location /downloader { - return 403; -} -location /var { - return 403; -} -location /shell { - return 403; -} - -location /media { - allow all; -} -location /skin { - allow all; -} - -location / { - try_files $uri $uri/index.html $uri.html /index.php$is_args$args; - allow all; -} - -location /api { - rewrite ^/api/rest /api.php?type=rest last; - rewrite ^/api/v2_soap /api.php?type=v2_soap last; - rewrite ^/api/soap /api.php?type=soap last; -} - -location ~ \.php$ { - # Next will never match and send to right php backend - try_files .~srcfile @php; - allow all; -}