Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.49 KB | None | 0 0
  1. ###file_1###
  2. server {
  3.     listen 80 default_server;
  4.     listen [::]:80 default_server ipv6only=on;
  5.  
  6.     root /var/www/dominio_1;
  7.     index index.html index.htm;
  8.  
  9.     server_name dominio.com www.dominio.com;
  10.  
  11.     location / {
  12.         try_files $uri $uri/ =404;
  13.     }
  14. }
  15.  
  16. ###file_2###
  17. server {
  18.     listen 80;
  19.  
  20.     root /var/www/dominio_2;
  21.     index index.html index.htm;
  22.  
  23.     server_name dominio2.com www.dominio2.com;
  24.  
  25.     location / {
  26.         try_files $uri $uri/ =404;
  27.     }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement