Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mod_ssl.c>
- <VirtualHost *:443>
- ServerName ainneve.com
- ServerAlias www.ainneve.com
- ProxyPreserveHost On
- ProxyPass / http://localhost:4011/
- ProxyPassReverse / http://localhost:4011/
- ServerAdmin webmaster@localhost
- # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
- # error, crit, alert, emerg.
- # It is also possible to configure the loglevel for particular
- # modules, e.g.
- #LogLevel info ssl:warn
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- # For most configuration files from conf-available/, which are
- # enabled or disabled at a global level, it is possible to
- # include a line for only one particular virtual host. For example the
- # following line enables the CGI configuration for this host only
- # after it has been globally disabled with "a2disconf".
- #Include conf-available/serve-cgi-bin.conf
- SSLCertificateFile /etc/letsencrypt/live/ainneve.com/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/ainneve.com/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- </VirtualHost>
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment