Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. IncludeOptional /path/to/conf/*.conf
  2.  
  3. <VirtualHost *:80>
  4. ServerName example.net
  5. Redirect permanent / https://example.net/
  6. </VirtualHost>
  7.  
  8. <VirtualHost *:80>
  9. ServerName sub.example2.com
  10. etc...
  11.  
  12. *:443 example.net (/path/to/conf/example.net.conf:6)
  13. *:80 is a NameVirtualHost
  14. default server example.net (/path/to/conf/example.net.conf:1)
  15. port 80 namevhost example.net (/path/to/conf/example.net.conf:1)
  16. port 80 namevhost sub.example2.com (/path/to/conf/sub.example2.com.conf:1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement