Tran Nghi's Site  - Make notes and share experience

502 Proxy Error / Uploading from Apache (mod_proxy)

502 Proxy Error / Uploading from Apache (mod_proxy) apache_p4041_error test_server [Tue Sep 24 04:27:00.144026 2019] [proxy:error] [pid 39779] (32)Broken pipe: [client 113.161.43.104:48742] AH01084: pass request body failed to 127.0.0.1:1311 (127.0.0.1) apache_p4041_error test_server [Tue Sep 24 04:27:00.144073 2019] [proxy_http:error] [pid 39779] [client 113.161.43.104:48742] AH01097: pass request body failed to 127.0.0.1:1311 (127.0.0.1) from 113.161.43.104 () apache_p4041_access test_server…

Disable IPv6 on CentOS / RHEL 7

Original reference: thegeekdiary 2. Disable IPv6 using sysctl settings (no reboot required) 1. Append below lines in /etc/sysctl.conf net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 NOTE: To disable IPv6 on a single interface add below lines to /etc/sysctl.conf : net.ipv6.conf.[interface].disable_ipv6 = 1 ### put interface name here [interface] net.ipv6.conf.default.disable_ipv6 = 1 2. To make the settings…

13: Permission denied while connecting to upstream

While trying to setup Nginx reverse proxy for Jenkins upstream, I faced to this issue: ___n[crit] ___ connect() to 127.0.0.1:8080 failed (13: Permission denied) while connecting to upstream, client: ___n, server: ___, request: “GET / HTTP/1.1”, upstream: “http://127.0.0.1:8080/”, host: “___”, referrer: “https://___/” This issue has been solved with: setsebool -P httpd_can_network_connect 1   Reference: Stack…

Message