Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to disable it for specific scenario using if is evil ? #43

Open
momkin opened this issue May 15, 2020 · 3 comments
Open

Comments

@momkin
Copy link

momkin commented May 15, 2020

Issue title

Is it possible to disable it for specific scenario using if is evil ?

Issue Description

Lets say can i do this :

    if ($request_uri = /blabla/blabla) { 
      set antiddos  off; 
    } 

Or

if ($request_uri = /blabla/blabla) { 
access_by_lua_file off;
} 

Something that can allow me to disable it when i need it for specific if !

Versions:

  • Browser(s):
  • Nginx version:
  • Operating system of web server running Nginx:

Nginx config:

paste your nginx config here

Screenshot(s):

[Screenshot(s) for difficult to describe visual issues are mandatory. Post links instead of Inline Images for Screenshots containing Adult material.]

Settings:

  • [List here all the changes you made to the default settings]

Other optional information you want to add other than the above:

@Sylvvvia
Copy link

You can do that directly inside script under allow for specific websites/path section

@momkin
Copy link
Author

momkin commented May 15, 2020

You can do that directly inside script under allow for specific websites/path section

Does the script allow if condition ??

@Sylvvvia
Copy link

Dunno, haven't tested it with if's on my webserver config however script is configurable to being used under specific paths and websites.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants