This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Nginx support
#1
Nginx support
**** The purpose of this thread to get your opinion and exchange over Nginx implementation  ****

**** It's still not on the roadmap ( short term)                                                                     ****


A lot of people are asking for Nginx or thinking about it would be better to support it.

So the question is how we support it? Does it make sense?

1. Nginx don't support .htaccess.
2. Nginx don't support .htpasswords.
3. Nginx rules are more complex and some popular software like WP will require custom rules. We can't allow users to manipulate webserver rules ! As it would not be secure.

I saw other panels using nginx as reverse proxy while apache sits behind. So you are still using apache and trying to get some performance improvement using nginx, but does this sound ok? Require more memory for micro instance.

So how to implement it?

We can set list of templates that user could apply per website, those rules are configured. Nginx only? No apache behind?

So hope the community help answering those question or explain more how it could be used.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#2
RE: Nginx support
I think we should not replace apache for nginx but more to use it for static serve.
[Image: logo2.png]

My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for Smile
Reply
Thanks given by:
#3
RE: Nginx support
How as static server. That would mean having NGINX sitting in front of apache and forwarding all requests. That would mean that .htaccess restrictions could be cut short over static content too...

Aside on another IP?
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#4
RE: Nginx support
Nginx uses one config file per domain and rewriting in one domain won't affect other domains but still, impropriety rules still can kill whole web server. Maybe we can develop module for creating rules? Module will check syntax before allow to save them to domain config file and prevent from errors (in this case we can excluede several options from rules for users to make it more secure). Rules will be activated with next deamon run like new subdomain etc.
Reply
Thanks given by:
#5
RE: Nginx support
(02-21-2016, 07:59 AM)Castey Wrote: Nginx uses one config file per domain and rewriting in one domain won't affect other domains but still, impropriety rules still can kill whole web server. Maybe we can develop module for creating rules? Module will check syntax before allow to save them to domain config file and prevent from errors (in this case we can excluede several options from rules for users to make it more secure). Rules will be activated with next deamon run like new subdomain etc.

Building a rule interface...hmmm.. How to validate the config? Would you allow end user do that?
Nginx have a lot of rules. A lot of syntax and beside that what if user change the root to / instead of his own directory.

We should then validate the syntax is OK and the input won't go outside of current authorised user directories?

Only serious way of validating rules is using nginx it self:
https://wincent.com/wiki/Checking_nginx_...ile_syntax

But that only validate the syntax. Doesn't garantee that the new config is SECURE.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#6
RE: Nginx support
a qeustion not so related to nginx. Whats the future for apache in Snetora? Using the handler or going to factcgi and FPM?
[Image: logo2.png]

My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for Smile
Reply
Thanks given by:
#7
RE: Nginx support
Future would be with SuEXEC & fastCGI. I have an idea how to get that. We need SuEXEC too later if we plan to get CGI back or more languages.

I see that beta in 1.0.5 target may be earlier but the biggest issue is already solved and will apply to SSL implementation.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#8
RE: Nginx support
NGinx is no magical bullet. This is my premisse.

I use Sentora with Apache and I've added a Varnish on the front.
It works differently than NGinx however the performance is very similar or even better (when not using Varnish Cache, only as a Reverse Proxy).
As a reverse Proxy it has a LOT less features than NGinx, however it is lighter, easier to manage and allows a extra caching service that is amazingly fast.

Also, as a Bonus, Varnish is a great Load Balancer for multi server setups.

In the end I do not think NGix will be a good choice, too complex without any need for that.
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#9
RE: Nginx support
I believe Sentora must simplify everything it uses. Both for maintenance and for ease of use.
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora

[Image: vanguardly-logo-micro.png]
Graphic and Web Design. Development.
www.vanguardly.com


Reply
Thanks given by:
#10
RE: Nginx support
varnish don't support ssl nginx yes and it can replace apache.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Why is there no support for debian? kevwebbie 3 1 ,683 07-09-2024, 11:57 PM
Last Post: Gregnew
Ubuntu 12.04 end of support Me.B 2 8 ,315 04-19-2017, 05:09 AM
Last Post: Me.B
SSL support in sentora Me.B 9 28 ,865 09-16-2016, 04:09 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 2 Guest(s)