fortran-lang / playground

An interactive Fortran playground
MIT License
34 stars 12 forks source link

How to reverse proxy and SSL encrypt? #28

Closed milancurcic closed 2 years ago

milancurcic commented 2 years ago

The traditional common solution has been to run NGINX as a reverse proxy to Node.js and Python servers that are serving on their respective ports, and to periodically get SSL certificates from Let's Encrypt. The latter can be further automated with certbot.

But, NGINX is also known to be notoriously difficult to configure beyond the sane and minimal defaults. I recently discovered and have transitioned to Caddy, a production-ready server that is extremely easy to run (minimal configuration needed) and automatically provides an SSL cert. Caddy is my recommendation for this project as well.

What do you think?

ashirrwad commented 2 years ago

I'll try experimenting with it on my instance and see how it works out.

milancurcic commented 2 years ago

Using Caddy as the simplest production-ready solution, as per #32.