Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
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:
Click Here
Please login or register. 2024-03-28, 21:28:38

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

0 Members and 1 Guest are viewing this topic.

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
[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 »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: ganti ip webserver nginxproxy
« Reply #1 on: 2017-04-26, 10:44:19 »
Memangnya servernya berbeda untuk nginx dan apache?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: ganti ip webserver nginxproxy
« Reply #2 on: 2017-04-26, 11:51:59 »
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

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
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'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Wibowo

  • Master
  • **
  • Posts: 391
  • Karma: +0/-0
  • Gender: Male
    • View Profile
Re: ganti ip webserver nginxproxy
« Reply #4 on: 2017-04-26, 13:09:20 »
sip pak, sudah berhasil

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.026 seconds with 18 queries.

web stats analysis