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
#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
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:


Messages In This Thread
Nginx support - by Me.B - 02-20-2016, 09:56 PM
RE: Nginx support - by bbspike - 02-21-2016, 04:31 AM
RE: Nginx support - by Me.B - 02-21-2016, 05:00 AM
RE: Nginx support - by Castey - 02-21-2016, 07:59 AM
RE: Nginx support - by Me.B - 02-21-2016, 08:57 AM
RE: Nginx support - by bbspike - 02-22-2016, 05:09 AM
RE: Nginx support - by Me.B - 02-22-2016, 06:18 AM
RE: Nginx support - by apinto - 02-23-2016, 05:15 AM
RE: Nginx support - by apinto - 02-23-2016, 05:21 AM
RE: Nginx support - by Me.B - 02-23-2016, 05:51 AM
RE: Nginx support - by apinto - 02-23-2016, 07:51 AM
RE: Nginx support - by bbspike - 02-23-2016, 08:27 AM
RE: Nginx support - by apinto - 02-24-2016, 10:35 PM
RE: Nginx support - by bbspike - 02-24-2016, 10:57 PM
RE: Nginx support - by apinto - 02-25-2016, 01:34 AM
RE: Nginx support - by Me.B - 02-23-2016, 08:32 AM
RE: Nginx support - by bbspike - 02-23-2016, 10:50 PM
RE: Nginx support - by Me.B - 02-24-2016, 12:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Ubuntu 12.04 end of support Me.B 2 7 ,639 04-19-2017, 05:09 AM
Last Post: Me.B
SSL support in sentora Me.B 9 26 ,498 09-16-2016, 04:09 PM
Last Post: Nigel
ssh support joubertredrat 12 34 ,076 08-02-2015, 11:22 PM
Last Post: Me.B

Forum Jump:


Users browsing this thread: 1 Guest(s)