http { server { listen 80; server_name domain1.com; location / { index index.html;
root /var/www/domain1;} }server {listen 80;server_name domain2.com;location / {index index.html;root /var/www/domain2;}}}
Monday, January 17, 2011
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2011
(29)
-
▼
January
(11)
- Show diff in git stash
- Hard refresh for browsers on Mac OSX
- Multiple domains with Nginx
- Sort lines in Vim
- Setup Google apps (gmail) for .SG domain registere...
- Difference between includes and joins in rails
- Rails arel/activerelation subquery gotcha
- Overide default scope in Rails
- Setting up node.js and npm on Mac OSX
- URL for Google's OpenID
- Cucumber: Running a single feature / scenario
-
▼
January
(11)
1 comment:
Another easy method is using Jelastic and an NGINX server.
You can read more about how to run multiple custom domains with NGINX
Post a Comment