<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Redirect http to https for Power BI Report Server in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Redirect-http-to-https-for-Power-BI-Report-Server/m-p/4130340#M36618</link>
    <description>&lt;P&gt;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, you can use IIS to implement website redirection. You can refer to the following links for this. The steps they describe are basically correct:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/51063815/redirect-http-to-https-via-iis#:~:text=In%20IIS%2C%20right%20click%20on%20the%20website%2C%20choose,set%20to%20%22True%22%20the%20properties%20%22Enabled%22%20and%20%22RedirectHttpToHttps%22" target="_blank"&gt;https://stackoverflow.com/questions/51063815/redirect-http-to-https-via-iis#:~:text=In%20IIS%2C%20right%20click%20on%20the%20website%2C%20choose,set%20to%20%22True%22%20the%20properties%20%22Enabled%22%20and%20%22RedirectHttpToHttps%22&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I would also recommend using NGINX reverse proxy because it has better management and UI.&lt;BR /&gt;If you don't already have NGINX installed on your server, you can install it. On Windows servers, you may need to install it through a package manager such as Chocolatey, or download and configure it manually.&lt;BR /&gt;Open the NGINX configuration file (usually named nginx.conf on Linux systems or located at /etc/nginx/sites-available/default).&lt;BR /&gt;Add a server block to listen on port 80 (HTTP) and redirect to HTTPS. Here is a basic configuration example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;server {
    listen 80;
    server_name myserver;

    location / {
        return 301 https://$server_name$request_uri;
    }
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure you have configured a separate server block to handle HTTPS requests. It should look something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;server {
    listen 443 ssl;
    server_name myserver;

    ssl_certificate /path/to/your/certificate.crt;
    ssl_certificate_key /path/to/your/private.key;

    location / {
        proxy_pass http://localhost:80; # Assuming your Power BI Report Server is running on port 80 internally
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After making these changes, restart NGINX to apply the configuration:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo nginx -s reload
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With this setup, any HTTP request to &lt;A href="http://myserver/reports/" target="_blank"&gt;http://myserver/reports/&lt;/A&gt; will be redirected to &lt;A href="https://myserver/reports/" target="_blank"&gt;https://myserver/reports/&lt;/A&gt;, providing secure access to your Power BI Report Server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If I have answered your question,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;please mark my reply as solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;kudos to this post&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;, thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Sep 2024 03:46:26 GMT</pubDate>
    <dc:creator>hackcrr</dc:creator>
    <dc:date>2024-09-03T03:46:26Z</dc:date>
    <item>
      <title>Redirect http to https for Power BI Report Server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Redirect-http-to-https-for-Power-BI-Report-Server/m-p/4128901#M36602</link>
      <description>&lt;P&gt;I have on-prem power bi report server hosted on windows server. I was using port 80 for all the reports inside organization.&lt;/P&gt;&lt;P&gt;let's say the link to access it was: &lt;A href="http://myserver/reports/" target="_blank" rel="noopener"&gt;http://myserver/reports/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now I have installed certificate and it works fine when I use &lt;A href="https://myserver/reports/" target="_blank" rel="noopener"&gt;https://myserver/reports/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What I want to do is when the user uses&amp;nbsp;&lt;A href="http://myserver/reports/" target="_blank" rel="noopener"&gt;http://myserver/reports/&lt;/A&gt;&amp;nbsp;it will redirect to&amp;nbsp;&lt;A href="https://myserver/reports/" target="_blank" rel="noopener"&gt;https://myserver/reports/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 05:50:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Redirect-http-to-https-for-Power-BI-Report-Server/m-p/4128901#M36602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-02T05:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect http to https for Power BI Report Server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Redirect-http-to-https-for-Power-BI-Report-Server/m-p/4130340#M36618</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First, you can use IIS to implement website redirection. You can refer to the following links for this. The steps they describe are basically correct:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/51063815/redirect-http-to-https-via-iis#:~:text=In%20IIS%2C%20right%20click%20on%20the%20website%2C%20choose,set%20to%20%22True%22%20the%20properties%20%22Enabled%22%20and%20%22RedirectHttpToHttps%22" target="_blank"&gt;https://stackoverflow.com/questions/51063815/redirect-http-to-https-via-iis#:~:text=In%20IIS%2C%20right%20click%20on%20the%20website%2C%20choose,set%20to%20%22True%22%20the%20properties%20%22Enabled%22%20and%20%22RedirectHttpToHttps%22&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I would also recommend using NGINX reverse proxy because it has better management and UI.&lt;BR /&gt;If you don't already have NGINX installed on your server, you can install it. On Windows servers, you may need to install it through a package manager such as Chocolatey, or download and configure it manually.&lt;BR /&gt;Open the NGINX configuration file (usually named nginx.conf on Linux systems or located at /etc/nginx/sites-available/default).&lt;BR /&gt;Add a server block to listen on port 80 (HTTP) and redirect to HTTPS. Here is a basic configuration example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;server {
    listen 80;
    server_name myserver;

    location / {
        return 301 https://$server_name$request_uri;
    }
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure you have configured a separate server block to handle HTTPS requests. It should look something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;server {
    listen 443 ssl;
    server_name myserver;

    ssl_certificate /path/to/your/certificate.crt;
    ssl_certificate_key /path/to/your/private.key;

    location / {
        proxy_pass http://localhost:80; # Assuming your Power BI Report Server is running on port 80 internally
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After making these changes, restart NGINX to apply the configuration:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo nginx -s reload
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With this setup, any HTTP request to &lt;A href="http://myserver/reports/" target="_blank"&gt;http://myserver/reports/&lt;/A&gt; will be redirected to &lt;A href="https://myserver/reports/" target="_blank"&gt;https://myserver/reports/&lt;/A&gt;, providing secure access to your Power BI Report Server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If I have answered your question,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;please mark my reply as solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;kudos to this post&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;, thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 03:46:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Redirect-http-to-https-for-Power-BI-Report-Server/m-p/4130340#M36618</guid>
      <dc:creator>hackcrr</dc:creator>
      <dc:date>2024-09-03T03:46:26Z</dc:date>
    </item>
  </channel>
</rss>

