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

28
nginx/nginx.conf Normal file
View File

@@ -0,0 +1,28 @@
user www-data;
worker_processes auto;
# load js challenge module
load_module /etc/nginx/modules/ngx_http_js_challenge_module.so;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
keepalive_timeout 65;
include /etc/nginx/conf.d/*.conf;
}