chainsol

Untitled

Dec 2nd, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <IfModule mod_ssl.c>
  2. <VirtualHost *:443>
  3.         ServerName ainneve.com
  4.         ServerAlias www.ainneve.com
  5.  
  6.         ProxyPreserveHost On
  7.         ProxyPass / http://localhost:4011/
  8.         ProxyPassReverse / http://localhost:4011/
  9.         ServerAdmin webmaster@localhost
  10.  
  11.         # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
  12.         # error, crit, alert, emerg.
  13.         # It is also possible to configure the loglevel for particular
  14.         # modules, e.g.
  15.         #LogLevel info ssl:warn
  16.  
  17.         ErrorLog ${APACHE_LOG_DIR}/error.log
  18.         CustomLog ${APACHE_LOG_DIR}/access.log combined
  19.  
  20.         # For most configuration files from conf-available/, which are
  21.         # enabled or disabled at a global level, it is possible to
  22.         # include a line for only one particular virtual host. For example the
  23.         # following line enables the CGI configuration for this host only
  24.         # after it has been globally disabled with "a2disconf".
  25.         #Include conf-available/serve-cgi-bin.conf
  26. SSLCertificateFile /etc/letsencrypt/live/ainneve.com/fullchain.pem
  27. SSLCertificateKeyFile /etc/letsencrypt/live/ainneve.com/privkey.pem
  28. Include /etc/letsencrypt/options-ssl-apache.conf
  29. </VirtualHost>
  30. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment