Closed hanrea closed 3 years ago
The website is https only, do you mean you really want to use in http ?
This issue has probably been fixed already. It works on my computer. Please elaborate on where the issue is?
It. need add one config what redirect http to https . Some connections are also http
On the official website.
For nginx !
server {
listen 80;
server_name vpm.vlang.io;
rewrite ^(.*)$ https://vpm.vlang.io$1 permanent;
}
Like This?
<system.webServer>
<rewrite>
<rules>
<rule name="Force HTTPS" enabled="true">
<match url="(.*)" ignoreCase="false"/>
<conditions>
<add input="{HTTPS}" pattern="off"/>
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent"/>
</rule>
</rules>
</rewrite>
</system.webServer>
That's right!
http://vpm.vlang.io/ show nginx 404 error,please check it !