We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
How to enable WSGI support on a Debian or Ubuntu
-
- Posts: 2
- Joined: Mon Mar 07, 2016 1:52 am
How to enable WSGI support on a Debian or Ubuntu
I found a bug in the WSGI templates when Using Ubuntu.
After followin the steps here - https://vestacp.com/docs/#how-to-enable ... ian-ubuntu
There are some changes that you need to do to the templates
This should show you 3 files
Edit wsgi.stpl
Find the line starting with:
Modify it as follows:
Next, just before the closing VirtualHost, there is a line starting with
Change this line to:
Do similar changes for the wsgi.tmpl file, except use in the WSGIDaemonProcess line.
That should be it, and you should be able to successfully run multi-domain wsgi templates now.
I havn't had a chance to test this on Centos yet, but I'm going to guess the templates are fairly similar
Thnx
Dr@g0nM@st3r
After followin the steps here - https://vestacp.com/docs/#how-to-enable ... ian-ubuntu
There are some changes that you need to do to the templates
Code: Select all
cd /usr/local/vesta/data/templates/web/apache2
ls wsgi.*
Code: Select all
wsgi.sh wsgi.stpl wsgi.tpl
Find the line starting with:
Code: Select all
WSGIDaemonProcess apx-idea user=%user% group=%user%
Code: Select all
WSGIDaemonProcess apx-s$domain% user=%user% group=%user%
Code: Select all
Include %home%/%user%/conf/web/
Code: Select all
IncludeOptional %home%/%user%/conf/web/
Code: Select all
apx-$domain%
That should be it, and you should be able to successfully run multi-domain wsgi templates now.
I havn't had a chance to test this on Centos yet, but I'm going to guess the templates are fairly similar
Thnx
Dr@g0nM@st3r
Re: How to enable WSGI support on a Debian or Ubuntu
Nice,
Thanks you
Thanks you