Learn about Centmin Mod LEMP Stack today
Register Now

Nginx How to properly add rel-preconnect header via nginx?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by rdan, Jun 14, 2021.

  1. rdan

    rdan Premium Member Premium Member

    5,301
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    2:19 AM
    Mainline
    10.2
    Like this for HTML Header:
    Code:
    <link rel="preconnect" href="https://domain.com" probability="1.0">