Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost aparatas.runevis.com:80>
- ServerAdmin jasytis@gmail.com
- ServerName aparatas.runevis.com
- ServerAlias www.aparatas.runevis.com
- DocumentRoot /var/www/aparatas.runevis.com/public
- <Directory /var/www/html/>
- Options Indexes FollowSymLinks
- AllowOverride All
- Require all granted
- </Directory>
- LogLevel debug
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- <IfModule mod_dir.c>
- DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
- </IfModule>
- RewriteEngine on
- RewriteCond %{SERVER_NAME} =aparatas.runevis.com [OR]
- RewriteCond %{SERVER_NAME} =www.aparatas.runevis.com
- RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
- </VirtualHost>
- <VirtualHost runevis.com:80>
- ServerAdmin jasytis@gmail.com
- ServerName runevis.com
- ServerAlias www.runevis.com
- DocumentRoot /var/www/runevis.com/public_html
- <Directory /var/www/html/>
- Options Indexes FollowSymLinks
- AllowOverride All
- Require all granted
- </Directory>
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- <IfModule mod_dir.c>
- DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
- </IfModule>
- RewriteEngine on
- RewriteCond %{SERVER_NAME} =runevis.com [OR]
- RewriteCond %{SERVER_NAME} =www.runevis.com
- RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
- </VirtualHost>
- <IfModule mod_ssl.c>
- <VirtualHost aparatas.runevis.com:443>
- ServerAdmin jasytis@gmail.com
- ServerName aparatas.runevis.com
- ServerAlias www.aparatas.runevis.com
- DocumentRoot /var/www/aparatas.runevis.com/public
- <Directory /var/www/html/>
- Options Indexes FollowSymLinks
- AllowOverride All
- Require all granted
- </Directory>
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- <IfModule mod_dir.c>
- DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
- </IfModule>
- RewriteEngine on
- # Some rewrite rules in this file were disabled on your HTTPS site,
- # because they have the potential to create redirection loops.
- # RewriteCond %{SERVER_NAME} =aparatas.runevis.com [OR]
- # RewriteCond %{SERVER_NAME} =www.aparatas.runevis.com
- # RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
- SSLCertificateFile /etc/letsencrypt/live/aparatas.runevis.com/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/aparatas.runevis.com/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- </VirtualHost>
- </IfModule>
- <IfModule mod_ssl.c>
- <VirtualHost *:443>
- ServerAdmin jasytis@gmail.com
- ServerName runevis.com
- ServerAlias www.runevis.com
- DocumentRoot /var/www/runevis.com/public
- <Directory /var/www/html/>
- Options Indexes FollowSymLinks
- AllowOverride All
- Require all granted
- </Directory>
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- <IfModule mod_dir.c>
- DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
- </IfModule>
- SSLCertificateFile /etc/letsencrypt/live/runevis.com/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/runevis.com/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- </VirtualHost>
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement