WebFaction
Community site: login faq

Hi, I am wondering if anyone using WAF for their Web Application and Nginx Server. Mostly I am developing for python (Django) or javascript (Node JS). Then then i came across these three open source WAFs:

https://github.com/alexazhou/VeryNginx

https://github.com/nbs-system/naxsi

https://github.com/SpiderLabs/ModSecurity

but i didn't find a straight forward script to install them without "sudo".

Did anyone manage to configure the flags according to this documentation?

https://docs.webfaction.com/software/home-install.html

Thank you in Advance

asked 17 Feb, 15:35

darklingq8
112
accept rate: 0%

edited 17 Feb, 19:10


Okey i manage to run "VeryNginx" by following these steps:

0- I created custom application and saved the port.

1- first i compiled openresty with prefixing "--prefix=$HOME" with following what also needed in install.py file

https://github.com/alexazhou/VeryNginx/blob/master/install.py

2- Then i installed VeryNginx by follwing install.py file steps which is cp and i copied it to my $HOME directory .. I also copied nginx.conf to ~/nginx/conf/

3- I modified the files that read from /opt/verynginx and change it to my home directory .. and i modified the port number

4- I copied lua modules to their parent dierctory

then i run verynginx by typing ~/nginx/sbin/nginx

PS: I don't know if this is the correct way to do it.

permanent link

answered 17 Feb, 19:14

darklingq8
112
accept rate: 0%

edited 17 Feb, 19:17

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×899
×185
×34
×9
×1

question asked: 17 Feb, 15:35

question was seen: 318 times

last updated: 17 Feb, 19:17

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM