Force nginx to https

Discussion in 'General' started by scorpious, Sep 25, 2022.

  1. scorpious

    scorpious Member

    Hi All
    Install debian 11.5 following the Perfect Server Automated ISPConfig 3 Installation on Debian 10 - 11 and Ubuntu 20.04
    Installed nginx instead of Apache all installed ok and working fine, however, I have created a website and select ssl and
    Let's Encrypt, how can I force the site to use https and not http, normally I would use Apache and use a .htaccess file to force from http tp https.
    Many thanks
    Scorp
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is a checkbox for that on the redirect tab of the website (exactly the same as with Apache).
     
  3. scorpious

    scorpious Member

    I think its time to invest in some new glasses o_O
    A big Thanks Till
     

Share This Page