chainsol

Untitled

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