luarocks / luarocks-site

LuaRocks website and module host
http://luarocks.org
175 stars 38 forks source link

Stop forcing redirects to HTTP instead of HTTPS #131

Closed DomT4 closed 6 years ago

DomT4 commented 6 years ago

Both these links work with HTTPS but currently the website forces a needless redirect to the insecure HTTP protocol.

=> curl -IL https://luarocks.org/releases/luarocks-2.4.4.tar.gz

HTTP/1.1 302 Moved Temporarily
Server: nginx/1.12.1
Date: Fri, 23 Mar 2018 01:47:08 GMT
Content-Type: text/html
Content-Length: 167
Connection: keep-alive
Location: http://luarocks.github.io/luarocks/releases/luarocks-2.4.4.tar.gz
DomT4 commented 6 years ago

Test failure does't seem to be related here.

hishamhm commented 6 years ago

@DomT4 Thank you for the PR! It is now up!

DomT4 commented 6 years ago

Thanks for the quick merge! Can confirm as working locally:

~> curl -IL https://luarocks.org/releases/luarocks-2.4.4.tar.gz
HTTP/1.1 302 Moved Temporarily
Server: nginx/1.12.1
Date: Fri, 23 Mar 2018 09:47:43 GMT
Content-Type: text/html
Content-Length: 167
Connection: keep-alive
Location: https://luarocks.github.io/luarocks/releases/luarocks-2.4.4.tar.gz