gut-space / svarog

📡 A ground stations network for receiving satellite transmissions, using VHF, UHF, and more.
MIT License
10 stars 0 forks source link

Nginx migration #64

Closed tomaszmrugalski closed 2 years ago

tomaszmrugalski commented 2 years ago

To get python 3.9, I upgraded the server to Debian 11. Sadly, the apache configuration broke down with a very weird infinite loop appearing when importing scipy under wsgi module in apache. After couple days of no progress at all, I decided to try an alternative.

As a result, we're running on Nginx and all seem to be working fine. I've decided it's a good opportunity to document this. Hence the Nginx and some Apache configuration tweaks.

tomaszmrugalski commented 2 years ago

I don't care about quality of this that much. What's the chance anyone would set up a server instance of this?

tomaszmrugalski commented 2 years ago

I think that is a big chance that we will use this configuration. ;)

We already do. The reason I did this is I couldn't make it work on Python 3.9 on Debian 11 with Apache. The scipy import kept getting stuck in infinite loop with some futex. This didn't happen when I was importing into python interpreter or when running Flask from command line.

Thanks for the review!