Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: NginUS on September 28, 2015, 01:01:56 AM



Title: How to make NOMP's web frontend use https/ssl
Post by: NginUS on September 28, 2015, 01:01:56 AM
Hi,

I'd like to know how I can make NOMP use https / ssl for the frontend.

Thanks,

-N


Title: Re: How to make NOMP's web frontend use https/ssl
Post by: NginUS on September 28, 2015, 12:58:29 PM
For anyone else wondering, this is how I got it to work. The following is my /etc/apache2/sites-available/000-default.conf doing a reverse proxy.

<VirtualHost *:443>
        ServerName domain.tld
        ProxyPass / http://xxx.xxx.xxx.xxx:xx/
        ProxyPassReverse / http://xxx.xxx.xxx.xxx:xx/
        RedirectMatch ^/$ https://domain.tld/
        SSLEngine on
        SSLCertificateFile /etc/ssl/path-to/domain.crt
        SSLCertificateKeyFile /etc/ssl/path-to/domain.key
   LogLevel info ssl:warn
   ErrorLog ${APACHE_LOG_DIR}/error.log
   CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>