Mike Plate

Freelance web and mobile developer

Nginx configuration setting to automatically map subdomains to subdirectories: server_name ~^(.*)\.mysite\.com$; root /srv/www/$1;

2011-10-18

Nginx configuration for making sure no directories or files starting with an underscore (_) in root can be downloaded from the web server: location ~ ^/_ { return 404; }

2011-10-20

Nginx configuration for making sure no directories or files starting with an underscore (_) in root can be downloaded from the web server: location ~ ^/_ { return 404; }

2011-10-20

Nginx configuration setting to automatically map subdomains to subdirectories: server_name ~^(.*)\.mysite\.com$; root /srv/www/$1;

2011-10-18
Twitter: @mikeplate