User Tools

Site Tools


haproxy:split-traffic-https-http-untuk-static-content

Memisahkan Traffic Wordpress https Static Content ke http

Kenapa kita ingin memisahkan traffic static di website wordpress https ke http? penyebabnya karena akses menggunakan http sepertinya lebih cepat dibandingkan https selain itu bisa di cache.

        acl domain_list hdr_end(host) -i /etc/haproxy/domain

        acl static_content path_end  -i .jpg .png .gif .css .js .jpeg .ttf .mp3 .mp4 .zip .pdf
        use_backend bk_http if domain_list || static_content

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
haproxy/split-traffic-https-http-untuk-static-content.txt · Last modified: 2022/09/25 22:04 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki