MRatWork Forum by Mustafa Ramadhan - [SOLVED] ganti ip webserver nginxproxy

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, 16:26:57

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [SOLVED] ganti ip webserver nginxproxy

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: [SOLVED] ganti ip webserver nginxproxy (Read 507 times)

0 Members and 1 Guest are viewing this topic.

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### [SOLVED] ganti ip webserver nginxproxy

« on: 2017-04-26, 09:47:00 »
kalo mau ganti ip reverse proxy untuk webserver nginxproxy di file config mana aja ya pak?
kan defaultnya apache listen di 127.0.0.1: 30080 dan 127.0.0.1:30443
saya mau ubah ip localhost tadi jadi ip localnetwork, misalnya jadi 10.42.130.84
sehingga apache listen di 10.42.130.84:30080 dan 10.42.130.84:30443 dan nginx meneruskan request nya ke ip 10.42.130.84 tersebut
« Last Edit: 2017-04-29, 07:13:40 by Wibowo »
Logged

#### MRatWork

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

##### Re: ganti ip webserver nginxproxy

« Reply #1 on: 2017-04-26, 10:44:19 »
Memangnya servernya berbeda untuk nginx dan apache?.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: ganti ip webserver nginxproxy

« Reply #2 on: 2017-04-26, 11:51:59 »
Quote from: MRatWork on 2017-04-26, 10:44:19

> Memangnya servernya berbeda untuk nginx dan apache?.

bukan pak
lisensi aplikasi saya mendeteksi kalo ip yang terlisensi adalah ip local network, bukan public network
berhubung tidak boleh terlalu sering reissue karena rentan dianggap abuse, dan saya butuh untuk pakai nginxproxy, jadi mau saya ganti saja ip-nya
Logged

#### MRatWork

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

##### Re: ganti ip webserver nginxproxy

« Reply #3 on: 2017-04-26, 12:03:04 »
Anda harus copy semua file proxy*.conf ke custom.proxy*.conf di /opt/configs/nginx/conf/globals. Kemudian ganti semua 127.0.0.1 di file custom.proxy*.conf tersebut.
Juga anda copy file defaults.conf.tpl ke custom.defaults.conf.tpl di /opt/configs/apache/tpl. Kemudian ganti semua '127.0.0.1' pada custom.defaults.conf.tpl.
Setelah itu, jalankan 'sh /script/fixweb; sh /script/restart-web'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: ganti ip webserver nginxproxy

« Reply #4 on: 2017-04-26, 13:09:20 »
sip pak, sudah berhasil
Logged

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [SOLVED] ganti ip webserver nginxproxy

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.036 seconds with 18 queries.

Mirror created by MasterkinG32.CoM