Reverse proxy

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
coolka5
Posts: 14
Joined: 05 Jan 2011, 13:36
Location: yogyakarta
Contact:

Reverse proxy

Postby coolka5 » 05 Jan 2011, 14:01

Halo gan ane newbe lagi kebingungan, gmna seting reverse proxy pake squid??? mohon pencerahanya...
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: Reverse proxy

Postby blackshirt » 05 Jan 2011, 18:53

rubah squid.conf agar berfungsi sebagai reverse proxy. beberapa key yang berkaitan :

Code: Select all

http_port 80 httpd_accel_host ip-addres-web-server httpd_accel_port 80 # Port dari web server httpd_accel_single_host on httpd_accel_with_proxy on httpd_accel_uses_host_header off
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: Reverse proxy

Postby blackshirt » 05 Jan 2011, 18:55

tapi dalam hal squid dan webserver berada dalam satu mesin yang sama,
rubah agar

Code: Select all

httpd_accel_host localhost # ip addres webserver httpd_accel_port 81 # port yang digunain web server
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: Reverse proxy

Postby blackshirt » 05 Jan 2011, 18:57

kenapa tidak menggunakan pound

Code: Select all

pound is a reverse proxy, load balancer and HTTPS front-end for Web servers Pound was developed to enable distributing the load among several Web-servers and to allow for a convenient SSL wrapper for those Web servers that do not offer it natively. Homepage: http://www.apsis.ch/pound/
User avatar
coolka5
Posts: 14
Joined: 05 Jan 2011, 13:36
Location: yogyakarta
Contact:

Re: Reverse proxy

Postby coolka5 » 06 Jan 2011, 09:52

ni code kita tulis langsung di squid.conf letaknya dimana gan maaf ane newbe amat.
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: Reverse proxy

Postby thrvers » 06 Jan 2011, 15:11

'
wew, btw squidnya sudah disetting2 belum. [ntar malah nda kepake :grin:]

lokasi konfignya:
squid2.7: /etc/squid/squid.conf
squid3: /etc/squid3/squid.conf

= CMIIW =
User avatar
coolka5
Posts: 14
Joined: 05 Jan 2011, 13:36
Location: yogyakarta
Contact:

Re: Reverse proxy

Postby coolka5 » 07 Jan 2011, 11:47

ooo trus setinganya gmn gan?
User avatar
coolka5
Posts: 14
Joined: 05 Jan 2011, 13:36
Location: yogyakarta
Contact:

Re: Reverse proxy

Postby coolka5 » 12 Apr 2011, 18:36

gan ane dah ngerti dikit2, mau numpang tanya lg seting default squid nya gmn gan mohon referensinya ma cache_mem nya?
mga yg menjawab dapet kemudahan dihidupnya amin... :)
User avatar
sipelaut
Posts: 1963
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Re: Reverse proxy

Postby sipelaut » 13 Apr 2011, 11:55

gan ane dah ngerti dikit2, mau numpang tanya lg seting default squid nya gmn gan mohon referensinya ma cache_mem nya?
mga yg menjawab dapet kemudahan dihidupnya amin... :)

wow .. :)
ram nya berapa broo...
User avatar
coolka5
Posts: 14
Joined: 05 Jan 2011, 13:36
Location: yogyakarta
Contact:

Re: Reverse proxy

Postby coolka5 » 14 Apr 2011, 10:07

oh ya ram ane 1,5 G bro
sekalian nanya bor
seting reverse proxy pada
#acl dstdomain (kalo di isi langsung dengan ip bisa gan ato harus menggunakan nama domain? )
mohon pencerahan?

Who is online

Users browsing this forum: No registered users and 3 guests