We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Using Mono with Vesta CP
Using Mono with Vesta CP
I need to install mono on my server but of course I want to be able to administer it through vesta cp as well. I have found information on installing this http://www.mono-project.com/docs/web/fastcgi/nginx/.
But how do you let vestacp know about this?
(I am using ubuntu)
But how do you let vestacp know about this?
(I am using ubuntu)
Re: Using Mono with Vesta CP
There's no real way to get vestacp itself to be aware of your mono server, but you can just modify your user's nginx configuration to have your web domain's webroot fastcgi proxy to your local mono application daemon. To do so, do the following:
Go to /home/<USER>/conf/web/nginx.conf
Under the "location / {" block, add this:
edit /etc/nginx/fastcgi_params to include:
Run your app with the mono fastcgi server as required.
Go to /home/<USER>/conf/web/nginx.conf
Under the "location / {" block, add this:
Code: Select all
index index.html index.htm default.aspx Default.aspx;
fastcgi_index Default.aspx;
fastcgi_pass 127.0.0.1:<PORTNUMBERHERE>;
include /etc/nginx/fastcgi_params;
Code: Select all
fastcgi_param PATH_INFO "";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;