MRatWork Forum by Mustafa Ramadhan - CARA BLOKIR WGET DI KLOXOMR (NGINX)

Sponsor:
Server and Web Integrator
Link:
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:

MRatWork Forum | Please login or register. | 2017-11-07, 23:10:00

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- CARA BLOKIR WGET DI KLOXOMR (NGINX)

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: CARA BLOKIR WGET DI KLOXOMR (NGINX) (Read 979 times)

0 Members and 1 Guest are viewing this topic.

#### bugis

- Valuable Member
- Posts: 113
- Karma: +0/-0

##### CARA BLOKIR WGET DI KLOXOMR (NGINX)

« on: 2015-10-12, 07:44:53 »
Saya menggunakan kloxomr (webserver nginx)
Bagaimana cara blokir download yang menggunakan wget dari server lain ?
Mohon bantuannya.
Terima kasih
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: CARA BLOKIR WGET DI KLOXOMR (NGINX)

« Reply #1 on: 2015-10-12, 08:14:43 »
Perjelas maksudnya mengapa perlu blkir wget. Memang bisa blokir yang spesifik untuk aplikasi?.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### bugis

- Valuable Member
- Posts: 113
- Karma: +0/-0

##### Re: CARA BLOKIR WGET DI KLOXOMR (NGINX)

« Reply #2 on: 2015-10-12, 08:58:25 »
Ada beberapa orang yang mengcopy data dari server kami ke server mereka dengan cronjob wget link sehingga memberatkan dan menghabiskan bandwidth server kami.
Mohon bantuannya.
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: CARA BLOKIR WGET DI KLOXOMR (NGINX)

« Reply #3 on: 2015-10-12, 09:03:15 »
Wget tidak bisa di-block karena wget dalam kaitan ini hanya 'memanfaatkan' http atau ftp.
Yang bisa dilakukan adalah block IP yang melakukan itu.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### bugis

- Valuable Member
- Posts: 113
- Karma: +0/-0

##### Re: CARA BLOKIR WGET DI KLOXOMR (NGINX)

« Reply #4 on: 2015-10-12, 09:21:52 »
Saya dapat di forum sebelah :
## Block http user agent - wget ##
if ($http_user_agent ~* (Wget) ) {
return 403;
}
## Block Software download user agents ##
if ($http_user_agent ~* LWP::Simple|BBBike|wget) {
return 403;
}
setelah saya edit di /home/nginx/conf jika nginx di restart terjadi error
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: CARA BLOKIR WGET DI KLOXOMR (NGINX)

« Reply #5 on: 2015-10-12, 11:17:44 »
Anda pakai Kloxo-MR 6.5 atau 7.0?. Letak file config berbeda.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### bugis

- Valuable Member
- Posts: 113
- Karma: +0/-0

##### Re: CARA BLOKIR WGET DI KLOXOMR (NGINX)

« Reply #6 on: 2015-10-12, 13:40:56 »
Kloxo-MR 6.5 pak
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: CARA BLOKIR WGET DI KLOXOMR (NGINX)

« Reply #7 on: 2015-10-12, 14:44:03 »
Saya pikir code anda harus diletakkan di dalam 'location / {}'. Coba cari di /home/nginx/conf/globals/php-fpm.conf.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### bugis

- Valuable Member
- Posts: 113
- Karma: +0/-0

##### Re: CARA BLOKIR WGET DI KLOXOMR (NGINX)

« Reply #8 on: 2015-10-12, 16:23:31 »
Terima kasih pak
Fix........
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: CARA BLOKIR WGET DI KLOXOMR (NGINX)

« Reply #9 on: 2015-10-12, 17:04:15 »
Jangan langsung edit php-fpm.conf tapi copy dulu ke custom.php-fpm.conf dan kemudian edit custom.php-fpm.conf dan kemudian jalankan 'sh /script/fixweb; sh /script/restart-web'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- CARA BLOKIR WGET DI KLOXOMR (NGINX)

MRatWork Affiliates: BIGRAF(R) Inc. House of LMAR EFARgrafix

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.037 seconds with 17 queries.

Mirror created by MasterkinG32.CoM