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

nginx: [emerg] unknown directive "access_by_lua_file" #78

Open
Moi045 opened this issue Apr 13, 2022 · 0 comments
Open

nginx: [emerg] unknown directive "access_by_lua_file" #78

Moi045 opened this issue Apr 13, 2022 · 0 comments

Comments

@Moi045
Copy link

Moi045 commented Apr 13, 2022

Issue title

Issue Description

I tried to install the lua file but i got this error:

nginx: [emerg] unknown directive "access_by_lua_file" in /etc/nginx/nginx.conf:17
nginx: configuration file /etc/nginx/nginx.conf test failed

Versions:

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

Nginx config:

user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;

events {
	worker_connections 500;
	# multi_accept on;
}

http {

	##
	# Basic Settings
	##

	access_by_lua_file conf/lua/anti_ddos_challenge.lua;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant