0

When dealing with multiple nginx websites proxying through to fastcgi-mono-server4 processes, do I need to manage each separate fastcgi process for each website or is there a way to collectively associate a pool of fastcgi processes with the nginx virtual host config? I've not had any luck googling this, so far I've managed to run multiple service stack services each on their own fastcgi process - just hoping there's a cleaner way to manage the fastcgi side of things.

Thanks

MikeW
  • 4,749
  • 9
  • 42
  • 83
  • 1
    I self host the ServiceStack applications on different localhost ports, then proxy the connection from nginx. I find this far more reliable than using fastcgi and mono-server4. I also use `supervisord` to ensure the application always remains up. – Scott Mar 06 '15 at 13:03
  • cheers , nice suggestion - i think ill self host everything not just the apis - will end up being much easier – MikeW Mar 07 '15 at 16:15
  • Have you looked into mono-fpm? – miniBill Mar 10 '15 at 08:53

0 Answers0