networkimprov / mnm

mnm implements TMTP protocol. Let Internet sites message members directly, instead of unreliable, insecure email. Contributors welcome! (Server)
https://mnmnotmail.org
Mozilla Public License 2.0
227 stars 10 forks source link

nginx proxy #13

Open lostfile1 opened 1 year ago

lostfile1 commented 1 year ago

is there a way to point nginx at the server

networkimprov commented 1 year ago

Are you suggesting this so your website and TMTP server could use the same TLS certificate?

That might work if you can configure nginx to "hijack" a new connection for a certain listening port, and open a TLS connection to the TMTP server (configured with a self-signed cert), then pass traffic between them. Not sure I'd recommend this tho, since it could open security holes.

lostfile1 commented 1 year ago

Are you suggesting this so your website and TMTP server could use the same TLS certificate?

That might work if you can configure nginx to "hijack" a new connection for a certain listening port, and open a TLS connection to the TMTP server (configured with a self-signed cert), then pass traffic between them. Not sure I'd recommend this tho, since it could open security holes.

Yes and you do have a point