Replies: 10 comments
-
Basic nginx example (inside the server configuration):
|
Beta Was this translation helpful? Give feedback.
-
thanks @rzumer ! said redirects for all variants (http, https, www, non-www) are prepared. it's good to have this issue as reference though. The reason those redirects are not active yet are the various integrations which access the api via http, which i was told do not work with automatic redirects too well yet. I'm not sure there are issues in all consumer's repositories for that change yet - we should make sure this is the case. |
Beta Was this translation helpful? Give feedback.
-
That's good to know, unfortunately I can't tell what's done and left to do considering I can't see the code... :) |
Beta Was this translation helpful? Give feedback.
-
Just redirecting to HTTPS by itself is not good practice. It's a start, but HSTS (HTTP Strict Transport Security) would be the way to go. Do NOT mess up your HSTS settings, as the website will become inaccessible. Start with a smaller max-age value until you know what you're doing is correct. HSTS does NOT allow the user to override an invalid certificate/security error message |
Beta Was this translation helpful? Give feedback.
-
HSTS is already prepared on the server, but as with the redirect, which still has to exist, this cannot happen before all clients deal with following redirects/protocol upgrades properly. |
Beta Was this translation helpful? Give feedback.
-
Excellent! When HSTS is stable, let's submit it to https://hstspreload.org/ so it gets added into Chrome/Chromium/other browsers |
Beta Was this translation helpful? Give feedback.
-
Let's also ensure we have the https version of the website verified in google analytics/tracking. We can even tell Google we prefer to show the https version (although eventually it will figure it out): https://support.google.com/webmasters/answer/44231?hl=en |
Beta Was this translation helpful? Give feedback.
-
I do not agree with using Google tracking (or Google anything if it can be avoided). |
Beta Was this translation helpful? Give feedback.
-
@rzumer feel free to open an issue as a feature request to switch to Matomo (analytics), self hosted or other cdn js/css libraries, self hosted webfonts, etc. |
Beta Was this translation helpful? Give feedback.
-
I was not aware that Google Analytics was live already. I can open an issue if there is consensus. I'm not sure that there is a reason to use analytics at all at this point. But this is better discussed in chat. |
Beta Was this translation helpful? Give feedback.
-
People who are used to accessing the site using HTTP (via history, bookmarks, etc.) should be redirected to the HTTPS version, since it provides better security against session hijacking. Currently, either version of the site is accessible.
Beta Was this translation helpful? Give feedback.
All reactions