Skip to content
Advertisement

UWSGI https configuration for ubuntu

I have django app that is running using the following uwsgi configuration in redhat 7.3:

JavaScript

However, when I run it on Ubuntu 16.04.1 LTS, I got the following error:

JavaScript

Does the error means that uwsgi fail to bind the port? Is there a special way of using “shared-socket” in ubuntu? I need to have this running on both port 443 and 8443. I have tried the above configuration for both port 443 and 8443 without success.

Thanks in advance.

Advertisement

Answer

I got this to work in ubuntu by reinstalling the python 3.5.2 from source.

I am guessing that there is some issue/incompatibility installing python 3.5.2 using apt-get.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement