TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: poindexter FORTRAN
from: fusion
date: 2024-05-16 19:48:00
subject: Re: Lets Encrypt and NPM

On 16 May 2024, poindexter FORTRAN said the following...
 
 pF> Instead of running SSL natively on Synchronet, would anything break by
 pF> just running http internally and using NPM to manage certificates and
 pF> then pass on HTTPS traffic to HTTP internally?

i have mine set up like this.. perhaps it will be useful:

server {
    listen 443 ssl;

    ssl_certificate /etc/ssl/certificate_for_allofthem.crt
    ssl_certificate_key 

    # boilerplate stuff
    root /var/www/example;
    index index.html index.htm;

    server_name example.cfbbs.net;

    # magic
    location /.well-known/ {
        alias /var/www/steal/verification/example/.well-known/;
    }

    # pass everything else
    location / {
        proxy_pass http://local_machine:3000; # or whatever
        
    }
}

then i do all the certificate updates from the one machine that runs the nginx proxy with a crontab entry

--- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
 # Origin: cold fusion - cfbbs.net - grand rapids, mi
                                                      
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.