Configuring Nginx Directadmin

abletec

Verified User
Joined
Sep 14, 2021
Messages
29
If I were dealing w/straight Nginx, I'd know in a heartbeat how to do this. But I've had this server nearly 2 yr now &, tbh, I'm still struggling w/how DA does things w/regard to Nginx. I'm an idiot. What can I say? There's always 1 in every crowd.

I'm running pure Nginx, ie, w/o Apache. I'm getting a lot of crap traffic where no domain name is requested. W/o DA, I'd simply have a default server named _, & an if statement that if the header didn't contain a host name, to return a 444 error code. I've also interfaced w/csf/lfd & that if 5 444/400 were returned per IP, it goes into the ip deny file.

All these custom tokens & what belongs where just confuses the firetruck out of me. I don't know how many times I've been over the docs & I still can't get it through my thick skull.

Can anyone please either:
a) Give me some idea on how to do this using DA? &/or
b) Explain so my 5-yo granddaughter could understand how these custom tokens are to be used?

Appreciate any assistance. Thanks so much in advance. Have a blessed rest of your day.
 
Back
Top