Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # A virtual host using mix of IP-, name-, and port-based configuration
- #
- server {
- listen 80;
- # listen *:80;
- server_name example.com;
- location / {
- root /var/www/example.com/public_html/;
- index index.html index.htm;
- }
- }
- server {
- listen 80;
- # listen *:80;
- server_name example.org;
- location / {
- root /var/www/example.org/public_html/;
- index index.html index.htm;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement