Skip to content

Instantly share code, notes, and snippets.

@marcusramberg
Created October 15, 2010 06:48
Show Gist options
  • Save marcusramberg/627738 to your computer and use it in GitHub Desktop.
Save marcusramberg/627738 to your computer and use it in GitHub Desktop.
[marcus@labs /usr/local/etc/nginx/sites]$ cat nordaaker.conf
server {
listen 80;
server_name nordaaker.com www.nordaaker.com;
include fastcgi_params;
access_log logs/nordaaker.access.log;
error_log logs/nordaaker.error.log;
location / {
root /usr/local/www/nordaaker;
}
location /arne { alias /home/arne/html; }
location /audun { alias /home/audun/html; }
location docs { alias /home/marcus/docs; }
location /wiki {
fastcgi_pass localhost:31338;
}
location /static {
root /usr/local/mojomojo.org/root;
}
}
server {
listen 80;
server_name nordaaker.no www.nordaaker.no;
location / {
root /usr/local/www/nordaaker.no;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment