HTTP and HTTPS related laragon settings

  • | 2610 points

    I have enabled Apache's SSL Port and PHPMyAdmin is installed but while clicking Databse it redirects to http://localhost/phpmyadmin/index.php and not lauched HTTPS phpmyadmin page.

    Additionally, you can see Quick app creating sandbox.test and pretty URL is missing HTTPS.

    Also found all the htdocs document root site are also launched without https.

    Is there any settings available for launching theme in HTTPS environment or HTTP environment. Also can phpmyadmin link be mapped to specific domain.

  • administrators
    | 131219 points


    1. Laragon always uses http and there is no setting like that for now.
    2. We can put phpMyAdmin to Document Root and take advantage of the Auto VirtualHost feature.

  • | 2610 points

    If setting is introduced then it will be awesome :)

  • | 238 points

    In /laragon/etc/apps/phpMyAdmin/ I create .htaccess file and inside I put :

    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

    Now the link open up in https. Hope this help someone.

  • | 14 points

    @rivman Perfect solution. It worked very well. Thank you.

  • | 23 points

    i will help you out in this, just ping me when you online there will talk with you there

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.