Nginx-Lua-Anti-DDoS
Nginx-Lua-Anti-DDoS copied to clipboard
Getting error 404 when loading module .
Issue title
Issue Description
Hello when I included module , tried Nginx.conf / website conf / location block. Always same error .
Okey find out I had to specify location of the file but now . Strange issue when page load it download the website content . named as "download" I think its because im using a trick to rename my html file to no extension . location block : (location / { try_files $uri $uri/ @htmlext; }
location ~ \.html$ {
try_files $uri =404;
}
location @htmlext {
rewrite ^(.*)$ $1.html last;)