Advertisement
Guest User

Untitled

a guest
Mar 30th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. #
  2. # A virtual host using mix of IP-, name-, and port-based configuration
  3. #
  4.  
  5. server {
  6. listen 80;
  7. # listen *:80;
  8. server_name example.com;
  9.  
  10. location / {
  11. root /var/www/example.com/public_html/;
  12. index index.html index.htm;
  13. }
  14. }
  15.  
  16.  
  17. server {
  18. listen 80;
  19. # listen *:80;
  20. server_name example.org;
  21.  
  22. location / {
  23. root /var/www/example.org/public_html/;
  24. index index.html index.htm;
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement