{"id":1414,"date":"2017-06-14T08:54:49","date_gmt":"2017-06-14T08:54:49","guid":{"rendered":"http:\/\/kb.srs-x.com\/en\/?page_id=1414"},"modified":"2018-01-17T05:55:47","modified_gmt":"2018-01-17T05:55:47","slug":"configure-proxy-ssl-using-nginx","status":"publish","type":"page","link":"https:\/\/kb.srs-x.com\/en\/reseller\/configure-proxy-ssl-using-nginx","title":{"rendered":"Configure proxy SSL using nginx"},"content":{"rendered":"<p><a href=\"http:\/\/kb.srs-x.com\/id\/reseller\/konfigurasi-proxy-ssl-menggunakan-nginx\/\"><strong>Versi Bahasa Indonesia<\/strong><\/a><\/p>\n<p>Here is example SSL configuration using nginx:<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\r\nserver {\r\n     listen  [IP PROXY]:443;\r\n     server_name [RESELLER DOMAIN ];\r\n\r\n     ssl_certificate      [FILE CRT];\r\n     ssl_certificate_key  [FILE KEY];\r\n\r\n     location \/ {\r\n               proxy_pass http:\/\/srb[RESELLERID].srs-x.com:80;\r\n               proxy_redirect off;\r\n               proxy_set_header Host [DOMAIN RESELLER];\r\n               proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n               proxy_set_header X-Real-IP $remote_addr;\r\n               proxy_set_header X-Forwarded-Proto $scheme;\r\n               client_max_body_size    10m;\r\n               client_body_buffer_size 128k;\r\n               proxy_connect_timeout   90;\r\n               proxy_send_timeout      90;\r\n               proxy_read_timeout      90;\r\n               proxy_buffers           32 32k;\r\n               proxy_buffer_size       64k;\r\n     }\r\n}\r\n\r\n<\/pre>\n<p>Put this line into nginx vhost configuration. Make sure you already replace [IP PROXY], [RESELLER DOMAIN], [FILE CRT], [FILE KEY], dan [RESELLER ID] with your server configuration.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Versi Bahasa Indonesia Here is example SSL configuration using nginx: Put this line into nginx vhost configuration. Make sure you already replace [IP PROXY], [RESELLER DOMAIN], [FILE CRT], [FILE KEY], dan [RESELLER ID] with your server configuration.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":657,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/pages\/1414"}],"collection":[{"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/comments?post=1414"}],"version-history":[{"count":3,"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/pages\/1414\/revisions"}],"predecessor-version":[{"id":1479,"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/pages\/1414\/revisions\/1479"}],"up":[{"embeddable":true,"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/pages\/657"}],"wp:attachment":[{"href":"https:\/\/kb.srs-x.com\/en\/wp-json\/wp\/v2\/media?parent=1414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}