Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- ServerName ainneve.evennia.com
- ServerAlias ainneve.com
- Redirect / https://ainneve.evennia.com
- </VirtualHost>
- <VirtualHost *:443>
- ServerName ainneve.evennia.com
- ProxyPass /ws ws://localhost:4002/
- ProxyPassReverse /ws ws://localhost:4002/
- ProxyPass / http://localhost:4001/
- ProxyPassReverse / http://localhost:4001/
- 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.evennia.com/fullchain.pem
- SSLCertificateKeyFile /etc/letsencrypt/live/ainneve.evennia.com/privkey.pem
- Include /etc/letsencrypt/options-ssl-apache.conf
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment