zeek / package-website

New version of packages website
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Site should speak HTTP on port 80 and redirect to HTTPS #17

Closed ckreibich closed 12 months ago

ckreibich commented 1 year ago

Hi! It'd be helpful for the site to respond to HTTP and redirect it to HTTPS. You can model this on zeek.org itself, which on port 80 responds with a 301 redirect to its HTTPS version on 443, which then sets an HSTS policy.

timwoj commented 1 year ago

I'll take care of this one. It's configuring nginx correctly on the host.

timwoj commented 12 months ago

Added a block to nginx.conf that forces a 301 redirect to the https site.