Bitcoin Forum
May 21, 2024, 11:05:01 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to make NOMP's web frontend use https/ssl  (Read 497 times)
NginUS (OP)
Full Member
***
Offline Offline

Activity: 190
Merit: 100


View Profile
September 28, 2015, 01:01:56 AM
 #1

Hi,

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

Thanks,

-N
NginUS (OP)
Full Member
***
Offline Offline

Activity: 190
Merit: 100


View Profile
September 28, 2015, 12:58:29 PM
 #2

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>
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!