Guest User

Untitled

a guest
Apr 12th, 2018
503
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.87 KB | None | 0 0
  1. jez@jeremiahrose:/etc/apache2$ ls sites-enabled/
  2. 000-default.conf jeremiahrose.com.conf thewilliewagtails.band.conf
  3.  
  4. <VirtualHost *:80>
  5. ServerAdmin jeremiah.aaron.rose@gmail.com
  6. DocumentRoot /var/www/html
  7. ErrorLog ${APACHE_LOG_DIR}/error.log
  8. CustomLog ${APACHE_LOG_DIR}/access.log combined
  9. </VirtualHost>
  10.  
  11. <VirtualHost *:80>
  12. ServerAdmin jeremiah.aaron.rose@gmail.com
  13. DocumentRoot /var/www/jeremiahrose.com
  14.  
  15. <Directory /var/www/jeremiahrose.com/>
  16. Options Indexes FollowSymLinks
  17. AllowOverride None
  18. Require all granted
  19. </Directory>
  20.  
  21. ErrorLog ${APACHE_LOG_DIR}/error.log
  22. CustomLog ${APACHE_LOG_DIR}/access.log combined
  23.  
  24. <IfModule mod_dir.c>
  25. DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
  26. </IfModule>
  27.  
  28. ServerName jeremiahrose.com
  29. ServerAlias jeremiahro.se
  30. ServerAlias jeremiahrose.band
  31. ServerAlias www.jeremiahrose.com
  32. ServerAlias www.jeremiahro.se
  33. ServerAlias www.jeremiahrose.band
  34.  
  35.  
  36. RewriteEngine on
  37. #Added automatically by let's encrypt:
  38. RewriteCond %{SERVER_NAME} =www.jeremiahrose.com [OR]
  39. RewriteCond %{SERVER_NAME} =jeremiahrose.band [OR]
  40. RewriteCond %{SERVER_NAME} =www.jeremiahro.se [OR]
  41. RewriteCond %{SERVER_NAME} =jeremiahro.se [OR]
  42. RewriteCond %{SERVER_NAME} =jeremiahrose.com [OR]
  43. RewriteCond %{SERVER_NAME} =www.jeremiahrose.band
  44. RewriteRule ^ https://jeremiahrose.com%{REQUEST_URI} [END,NE,R=permanent]
  45. </VirtualHost>
  46.  
  47.  
  48. <IfModule mod_ssl.c>
  49. <VirtualHost *:443>
  50. ServerAdmin jeremiah.aaron.rose@gmail.com
  51. DocumentRoot /var/www/jeremiahrose.com
  52.  
  53. <Directory /var/www/jeremiahrose.com/>
  54. Options Indexes FollowSymLinks
  55. AllowOverride None
  56. Require all granted
  57. </Directory>
  58.  
  59. ErrorLog ${APACHE_LOG_DIR}/error.log
  60. CustomLog ${APACHE_LOG_DIR}/access.log combined
  61.  
  62. <IfModule mod_dir.c>
  63. DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
  64. </IfModule>
  65.  
  66. ServerName jeremiahrose.com
  67. ServerAlias jeremiahro.se
  68. ServerAlias jeremiahrose.band
  69. ServerAlias www.jeremiahrose.com
  70. ServerAlias www.jeremiahro.se
  71. ServerAlias www.jeremiahrose.band
  72.  
  73. RewriteEngine on
  74. RewriteCond %{SERVER_NAME} =www.jeremiahrose.com [OR]
  75. RewriteCond %{SERVER_NAME} =jeremiahrose.band [OR]
  76. RewriteCond %{SERVER_NAME} =www.jeremiahro.se [OR]
  77. RewriteCond %{SERVER_NAME} =jeremiahro.se [OR]
  78. RewriteCond %{SERVER_NAME} =www.jeremiahrose.band
  79. RewriteRule ^ https://jeremiahrose.com%{REQUEST_URI} [END,NE,R=permanent]
  80.  
  81. Include /etc/letsencrypt/options-ssl-apache.conf
  82. Include /etc/letsencrypt/options-ssl-apache.conf
  83. Include /etc/letsencrypt/options-ssl-apache.conf
  84. Include /etc/letsencrypt/options-ssl-apache.conf
  85. Include /etc/letsencrypt/options-ssl-apache.conf
  86. Include /etc/letsencrypt/options-ssl-apache.conf
  87. Include /etc/letsencrypt/options-ssl-apache.conf
  88. SSLCertificateFile /etc/letsencrypt/live/jeremiahro.se/fullchain.pem
  89. SSLCertificateKeyFile /etc/letsencrypt/live/jeremiahro.se/privkey.pem
  90. </VirtualHost>
  91. </IfModule>
  92.  
  93. <VirtualHost *:80>
  94. ServerAdmin jeremiah.aaron.rose@gmail.com
  95. DocumentRoot /var/www/thewilliewagtails.band
  96.  
  97. <Directory /var/www/thewilliewagtails.band/>
  98. Options Indexes FollowSymLinks
  99. AllowOverride None
  100. Require all granted
  101. </Directory>
  102.  
  103. ErrorLog ${APACHE_LOG_DIR}/error.log
  104. CustomLog ${APACHE_LOG_DIR}/access.log combined
  105.  
  106. <IfModule mod_dir.c>
  107. DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
  108. </IfModule>
  109.  
  110. ServerName thewilliewagtails.band
  111. ServerAlias thewilliewagtails.com.au
  112. ServerAlias thewilliewagtails.com
  113. ServerAlias wwww.thewilliewagtails.com
  114. ServerAlias www.thewilliewagtails.com.au
  115. ServerAlias www.thewilliewagtails.band
  116.  
  117.  
  118. RewriteEngine on
  119. #Added automatically by let's encrypt:
  120. RewriteCond %{SERVER_NAME} =www.thewilliewagtails.com [OR]
  121. RewriteCond %{SERVER_NAME} =thewilliewagtails.com [OR]
  122. RewriteCond %{SERVER_NAME} =www.thewilliewagtails.band [OR]
  123. RewriteCond %{SERVER_NAME} =thewilliewagtails.com.au [OR]
  124. RewriteCond %{SERVER_NAME} =www.thewilliewagtails.com.au
  125. RewriteRule ^ https://thewilliewagtails.band%{REQUEST_URI} [END,NE,R=permanent]
  126. </VirtualHost>
  127.  
  128.  
  129. <IfModule mod_ssl.c>
  130. <VirtualHost *:443>
  131. ServerAdmin jeremiah.aaron.rose@gmail.com
  132. DocumentRoot /var/www/thewilliewagtails.band
  133.  
  134. <Directory /var/www/thewilliewagtails.band/>
  135. Options Indexes FollowSymLinks
  136. AllowOverride None
  137. Require all granted
  138. </Directory>
  139.  
  140. ErrorLog ${APACHE_LOG_DIR}/error.log
  141. CustomLog ${APACHE_LOG_DIR}/access.log combined
  142.  
  143. <IfModule mod_dir.c>
  144. DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
  145. </IfModule>
  146.  
  147. ServerName thewilliewagtails.band
  148. ServerAlias thewilliewagtails.com
  149. ServerAlias thewilliewagtails.com.au
  150. ServerAlias www.thewilliewagtails.com
  151. ServerAlias www.thewilliewagtails.com.au
  152. ServerAlias www.thewilliewagtails.band
  153.  
  154. RewriteEngine on
  155. RewriteCond %{SERVER_NAME} =www.thewilliewagtails.com [OR]
  156. RewriteCond %{SERVER_NAME} =thewilliewagtails.com [OR]
  157. RewriteCond %{SERVER_NAME} =www.thewilliewagtails.com.au [OR]
  158. RewriteCond %{SERVER_NAME} =thewilliewagtails.com.au [OR]
  159. RewriteCond %{SERVER_NAME} =www.thewilliewagtails.band
  160. RewriteRule ^ https://thewilliewagtails.band%{REQUEST_URI} [END,NE,R=permanent]
  161.  
  162. Include /etc/letsencrypt/options-ssl-apache.conf
  163. SSLCertificateFile /etc/letsencrypt/live/jeremiahro.se/fullchain.pem
  164. SSLCertificateKeyFile /etc/letsencrypt/live/jeremiahro.se/privkey.pem
  165. </VirtualHost>
  166. </IfModule>
Add Comment
Please, Sign In to add comment