Back to Question Center
0

I-Semalt idlulisela ulwazi olubalulekileyo kwiNkqubo yoKwenza njani ukukhusela umfaki we-Spam usebenzisa i-Nginx

1 answers:

Xa ufumba kwisofthiwe yakho ye-analytics efuna amathuba kunye neengcamango, unokufumana ezinye iintambo zokuthunyelwa. Ezi zihanjisiweyo zikho ixesha elide, kodwa uDarodar uye wabathatha kwelinye iqanaba.

U-Ivan Konovalov, i-12 (Semalt uMphathi weNtengo yabaThengi, uthi iDarodar iyisitoreji se-SEO esilungeleleneyo, esiye sabetha i-botnet. Kuye kwindlela entsha yentengiso apho isebenzisa isicwangciso apho i-website yakho iya kugxininiswa ngama-IPs ahlukeneyo, amazwe kunye namacebo ngamaxesha ahlukeneyo kodwa zonke ziya kuhanjiswa ngokufanayo. Bathemba ukuba ngokukhawuleza ukuba uqaphele le ngqumbo, uzakufuna uphando malunga nalo kwaye ekuhambeni kwexesha, uya kuthenga iimveliso zazo.

Xa iDarodar iphumelele ngoluhlobo lwentengiso, ezininzi iiwebhusayithi zaqala ukusebenzisa ukuthunyelwa kogaxekile, kwaye ziye zafikelela kwindawo yokulimaza nokuphazamisa i-analytics yewebhusayithi. Yenze enye yezona zimbi ezinkulu zewebhu.

Kutheni i-spam yokudlulisela ingxaki?

Ngaphandle kokuphazamisa nokonakalisa isayithi lakho ngeenkcukacha ezingabalulekanga, ugaxekile luyinkcitho enkulu yexesha. Uninzi lwabantu lukhalaza ngolu hlobo lokuxhalabisa oku kuba luzama ukuchaza ngeDarodar kumakhasimende kunye nokuba kutheni bafanele bawutyeshele. Nangona kunokwenzeka ukudala icebo usebenzisa i-Google Analytics ukukunceda ekuhlunguleni abaxhamli be-spammers, okukuphela kwento isisombululo esisenza ingxaki.

Emva kokuba abakwa-spammer bakhwebe okanye ba tyelele indawo yakho, baqala ukusebenzisa izixhobo zeseva zakho, kodwa azizona izinto ozifunayo. Ukulayisha iseva yakho kuthetha ukuba ityhutyha ukulayisha, nto leyo inokukhokelela kumazinga aphakamileyo aphezulu kunye namazinga ahluphekileyo.

Isihluthulelo sokumisa le ngxaki kukukuvimba ngaphambi kokuba ufumane ithuba lokubhalisa kwiwebhusayithi yakho njengomthumeleli. Kukho iindlela ezahlukeneyo zokufeza le njongo, kwaye enye yazo isebenzisa i-nginx. Landela nje amanyathelo angezantsi:

Yenza i-directory yengxelo ye-nginx yehlabathi elilandelayo:

sudo mkdr / etc / nginx / ihlabathi jikelele

i-sudonano / njl / nginx / umhlaba / umpempe ogaxekile. conf

Emva kokudala i-directory, bhala umbhalo olapha ngasentla kumhleli, ulondoloze uze uphume;

##

I-excferretic exclusions

##

ukuba ($ http_referer ~ "(semalt \ .com | amaqhosha-kwi-website \ .com)") {

isetya i-$ evunyelwe "1";

}

ukuba (i-dolophu ingavunyelwe) {

ubuyele 403; - +

}

La manyathelo aza kukunceda ekufumaneni kunye nokukhusela inkinobho yewebsite.com kunye nedarodar.com. Lezi zibini zibucala bewebhu, kodwa usenako ukuvimba naluphi na uhlobo lokufakela ugaxekile olufunayo. I-syntax ehambelana nendawo ithatha igama lomninimzi, ukukhupha amaxesha kunye nomgca wecala kwaye udibanise nebar.

Kwifayile yokuqwalasela isayithi, yongeza;

Iseva {

zonke izinto ezisele

zibandakanya / njl / nginx / ihlabathi / *

}

Ukuphinda le nkqubo kunokuba yinto ebangelisayo kuba kufuneka uyenze kwisayithi nganye, kodwa i-goog yinto yokuba ungayisebenzisa kwakhona ngokuzayo ngokufaka ii-directories zeplanga jikelele / / etc / nginx / i-global / directory. Ukuba iwebhusayithi yakho inefayile yethemplate, kuya kuba kuhle ukuba ungeze umgca kuyo.

Ukuqinisekisa ukuba akukho mpazamo yokuthayipha ngokulandelayo:

Sudo nginx -t, uze ulayishe kabusha i-Nginx, kwaye ukusuka apha, indawo yakho iya kuba yinto enhle ukuhamba.

.
November 30, 2017
I-Semalt idlulisela ulwazi olubalulekileyo kwiNkqubo yoKwenza njani ukukhusela umfaki we-Spam usebenzisa i-Nginx
Reply