Skip to content

Instantly share code, notes, and snippets.

@antonydenyer
Created September 20, 2012 11:34
Show Gist options
  • Save antonydenyer/3755395 to your computer and use it in GitHub Desktop.
Save antonydenyer/3755395 to your computer and use it in GitHub Desktop.
nginx mono ServiceStack
server_names_hash_bucket_size 256;
server {
listen 80; ## listen for ipv4
server_name _;
access_log /home/dev/www/logs/localhost.access.log;
location / {
root /home/dev/www/current;
index index.html index.htm;
fastcgi_index Default.aspx;
fastcgi_pass unix:/tmp/SOCK-$http_host;
include /etc/nginx/fastcgi_params;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment