title: How can i redirect HTTP to HTTPS in laragon
body: <p>I want to use windows <code>Laragon</code> for <code>Telegram</code> bot with <code>webhook</code>.
  I use <a href="https://sslforfree.com" rel="nofollow noreferrer"><code>let's encrypt</code></a> for active <code>SSL certificate</code>. 
  I used manual verification create <code>.well-known</code> file downloaded zip certificate and replaced it to </p>
  
  <pre><code>/etc/appache2/sll.
  </code></pre>
  
  <p>now when I want to using <a href="https://developerpiel.com" rel="nofollow noreferrer">https://developerpiel.com</a> (my domain) browser show me <code>ssl is actived by letsencrypt</code>. I used </p>
  
  <pre><code>https://api.telegram.org/bot(token)/setWebhookurl=https://developerpie.com/robot/bot.php
  </code></pre>
  
  <p>and its return me </p>
  
  <pre><code>{
    "ok": true,
    "result": true,
    "description": "Webhook is already set"
  }
  </code></pre>
  
  <p>but when I want to use <code>Telegram</code> api methods I can't receive any data from <code>Telegram</code> webhook.
  I think it will fix if requests redirects automatically to <code>HTTPS</code>instead of <code>HTTP</code></p>
  
  <p>How can config it whit <code>Laragon</code> on windows?</p>
  
  <p>I found half of answer EDIT:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt; 
  ServerName www.developerpie.com 
  Redirect permanent / https://www.developerpie.com/ 
  &lt;/VirtualHost&gt;
  &lt;VirtualHost _default_:443&gt;
      &lt;Directory "C:/laragon/www/"&gt;
          AllowOverride All
          Require all granted
      &lt;/Directory&gt;
  
      SSLEngine on
      SSLCertificateFile      C:/laragon/etc/ssl/laragon.crt
      SSLCertificateKeyFile   C:/laragon/etc/ssl/laragon.key
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>I used this config now when I load my web site auto browser automatically redirect to <code>https</code> but Telegram web hook still doesn't work</p>