Instalasi Nginx di Centos

[root@martin.server ~]# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm .:: install nginx [root@martin.server ~]# yum install nginx .:: konfigurasi nginx sebagai reverse proxy buat file reverse proxy [root@martin.server ~]# cd /etc/nginx/conf.d/ [root@martin.server conf.d]# nano proxy.conf ###isi dari file proxy.conf proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; client_max_body_size 10m; client_body_buffer_size 128k; proxy_connect_timeout 90; proxy_send_timeout 90; proxy_read_timeout … Read more