Deploying Wagtail on Ionos VPS

I have an Ionos VPS and have a Wagtail site installed on it. It is accessible when I use the command python runserver (ip address of VPS):8000 and it displays correctly.

However, I tried to deploy it but I keep running in to issues.

I used nginx and got a 502 error and the logs show that ModuleNotFound error: module 'wagtail' not found and couldn't get any further.

I have now reinstalled wagtail on a freshly made image on my VPS and not sure what to do next.

Back to Top