Back to Question Center
0

I-Semalt idlulisa ulwazi olubalulekile ku-Indlela Yokuvimbela Ukudlulisa Ugaxekile Usebenzisa i-Nginx

1 answers:

Uma ufakwa kwisofthiwe yakho ye-analytics efuna amathuba nemibono, kungenzeka ukuthi uhlangabezane nezimpendulo ezithile zokudlulisela. Lezi zihanjelwe zikhona isikhathi eside, kepha uDarodar uye waziyisa kwelinye izinga.

U-Ivan Konovalov, i- Semalt iMenenja yeNtuthuko yeMakhasimende, ithi iDarodar iyisithuluzi se-SEO esiphezulu, esiye saqothula ibhodlela. Ivezwe ngendlela entsha yokukhangisa lapho isebenzisa isu lapho iwebhusayithi yakho izokhukhulwa yi-IP, amazwe namadivayisi ahlukene ngezikhathi ezahlukene kodwa bonke bazoba nokudluliselwa okufanayo. Bathemba ukuthi ngokushesha nje uma uqaphela lo mgwaqo osolisayo, uzofuna ukuphenya kabanzi ngakho futhi ngokuhamba kwesikhathi uzothenga imikhiqizo yawo.

Lapho uDarodar ephumelela ngaloluhlobo lwe-adversi, amawebhusayithi amaningi aqala ukusebenzisa ugaxekile wogaxekile, futhi uye wafinyelela iphuzu lokulimaza nokuphazamisa ama-analytics kuwebhusayithi. Ube omunye wabahluleli be-website enkulu.

Kungani ugaxekile we-referrer eba inkinga?

Ngaphandle kokuphazamisa nokulimaza isayithi lakho ngemininingwane engadingekile, ugaxekile kuyinkunkuma enkulu yesikhathi. Iningi labantu likhononda ngokuthi lokhu kungabangela ukukhathazeka kanjani uma uzama ukuchaza amakhasimende akwaDarodar nokuthi kungani kufanele bayishaye indiva. Nakuba kungenzeka ukudala isihlungi kusetshenziswa i-Google Analytics ukusiza ekuhlunguleni abakwa-spammers bokudlulisela, into eyodwa kuphela le mpikiswano iwubuyisa inkinga.

Uma abakwa-spammers bekhasa noma bavakashela isayithi lakho, baqala ukusebenzisa izinsiza ze-server yakho, kodwa akuzona izinto ozidingayo. Ukulayisha i-server yakho kusho ukuthi kuyashesha ukulayisha, okungaholela emazingeni aphakeme kakhulu wezinga eliphezulu kanye nezikhundla ezimbi.

Isihluthulelo sokumisa le nkinga ukuyivimbela ngaphambi kokuba ithole ithuba lokubhalisa kuwebhusayithi yakho njengomuntu othumele. Kunezindlela ezahlukene zokufeza le njongo, futhi omunye wabo uzosebenzisa i-nginx. Vele ulandele izinyathelo ezingezansi:

Yakha isiqondisi somthetho we-nginx elandelayo:

sudo mkdr / etc / nginx / jikelele

i-sudonano / etc / nginx / i-spam yomhlaba wonke. i-conf

Emva kokudala isiqondisi, unamathisele umbhalo ngezansi kumhleli, bese uyisindisa bese uphuma;

##

# okungafihliwe kokudlulisa

##

uma ($ http_referer ~ "(semalt \ .com | izinkinobho-ye-website \ .com)") {

usethe i-$ evinjelwe "1";

}

uma (ivinjiwe) {

buyela 403; - +

}

Lezi zinyathelo zizokusiza ekutholeni futhi ukuvimbela inkinobho yewebsite.com ne-darodar.com. Laba bobabili abayisono abakhulu bewebhu, kepha usengavimba noma yikuphi ukugaxekile kogaxekile okufisa. I-syntax eqhubekayo ithatha igama lomphathi, phuma izinkathi ezine-backline bese uzijoyina ngebha.

Kwifayela yokucushwa kwesayithi, engeza;

Iseva {

zonke izinto esezivele

zihlanganisa / njll / nginx / global / *

}

Ukuphinda le nqubo kungahle kube yisithukuthezi ngoba kufanele uyenze kwisayithi ngayinye, kodwa into ehamba phambili yukuthi ungayisebenzisa futhi esikhathini esizayo ngokungeza izinkomba zomhlaba wonke ku / / etc / nginx / global / isiqondisi. Uma iwebhusayithi yakho inefayela le-template, kuyoba kuhle uma ungeza umugqa kuwo.

Ukuqinisekisa ukuthi ayikho amaphutha okuthayipha ngokulandela lokhu:

Sudo nginx -t, bese ulayisha kabusha i-Nginx config, futhi kusuka lapha, isayithi lakho lizoba kuhle ukuhamba.

.
November 30, 2017
I-Semalt idlulisa ulwazi olubalulekile ku-Indlela Yokuvimbela Ukudlulisa Ugaxekile Usebenzisa i-Nginx
Reply