Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerAdmin webmaster@localhost
- DocumentRoot /var/www
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- </Directory>
- <Directory /var/www/>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- allow from all
- </Directory>
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- <Directory "/usr/lib/cgi-bin">
- AllowOverride None
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Order allow,deny
- Allow from all
- </Directory>
- ErrorLog ${APACHE_LOG_DIR}/error.log
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- </VirtualHost>
- <VirtualHost *:443>
- DocumentRoot /var/www
- ServerName xy.no-ip.biz
- SSLEngine on
- # SSLCertificateFile /root/server.crt
- # SSLCertificateKeyFile /root/server.key
- SSLCertificateFile /etc/letsencrypt/live/xy.no-ip.biz/cert.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/xy.no-ip.biz/privkey.pem
- SSLCACertificateFile /etc/letsencrypt/live/xy.no-ip.biz/privkey.pem
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement