Initial test of simon987/ngx_http_js_challenge_module

This commit is contained in:
seednode
2020-11-14 17:35:42 -05:00
commit e6999e6903
7 changed files with 377 additions and 0 deletions

15
nginx/conf.d/default.conf Normal file
View File

@@ -0,0 +1,15 @@
server {
listen 80;
server_name localhost;
location / {
js_challenge on;
js_challenge_secret "change me!";
js_challenge_html /etc/nginx/loading.html;
js_challenge_bucket_duration 3600;
js_challenge_title "Verifying your browser...";
root /usr/share/nginx/html;
index index.html index.htm;
}
}