Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mod_ssl.c>
- <VirtualHost *:443>
- ServerName localhost
- DocumentRoot /www
- RemoteIPHeader X-Forwarded-For
- Include /conf/*.conf
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- </Directory>
- <Directory /www>
- Options FollowSymLinks
- AllowOverride None
- Require all granted
- </Directory>
- SSLEngine on
- SSLCertificateFile /letsencrypt/live/domain/cert.pem
- SSLCertificateKeyFile /letsencrypt/live/domain/privkey.pem
- SSLCertificateChainFile /letsencrypt/live/domain/chain.pem
- ErrorLog ${APACHE_LOG_DIR}/error.log
- LogLevel debug
- CustomLog ${APACHE_LOG_DIR}/access.log combined.
- </VirtualHost>
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment