Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Using Mono with Vesta CP

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
zonder
Posts: 4
Joined: Tue Sep 23, 2014 6:54 pm

Using Mono with Vesta CP
  • Quote

Post by zonder » Fri Oct 03, 2014 7:50 am

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)
Top

F41L
Posts: 14
Joined: Sat Oct 11, 2014 7:50 pm

Re: Using Mono with Vesta CP
  • Quote

Post by F41L » Sat Oct 11, 2014 8:06 pm

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:

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;
edit /etc/nginx/fastcgi_params to include:

Code: Select all

fastcgi_param  PATH_INFO          "";
fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
Run your app with the mono fastcgi server as required.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password