News for hackers. Stuff that matters.
Re:Ask HN: Where to Host a FastAPI App by dkatz23238 on Wednesday October 18, 2023 @07:22PM (#37936138)
Great choice. Setting up https from scratch using nginx is something you should definitely do ONCE in your life but then use automated tools such as nginx-proxy/acme-companion.
Re:Ask HN: Where to Host a FastAPI App by imran-iq on Wednesday October 18, 2023 @07:26PM (#37936175)
Or you could use caddy from the get go
Re:Ask HN: Where to Host a FastAPI App by djbusby on Wednesday October 18, 2023 @08:45PM (#37936814)
The Apache stuff I learned like 20 years ago still works - especially for not-huge sites (<600RPS). Point being, once you get this sys-admin task done it's super repeatable (regardless of server). And from one, moving between isn't that hard either. Dozens of personal services can run on a $5/mo VPS. One I have now is nginx to SSL terminate to 8 backend docker-things
Re:Ask HN: Where to Host a FastAPI App by lsferreira42 on Sunday October 22, 2023 @10:05AM (#37975493)
Still running apache for my side projects too, it's very convenient and easy to deal.
Re:Ask HN: Where to Host a FastAPI App by zoom6628 on Wednesday October 18, 2023 @11:33PM (#37938020)
Good pun +1 for that.

I recommend nginx or Apache for the learning exercise. Then go with whatever best suits your use case. My rule is choose that which fits the objective and which doesn't overburden with cognitive load. So I don't use Apache for anything and sometimes just use python's built in. suitability for purpose and usability is what counts for me.