You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/dist
Peter Dave Hello a2afcac7d9
Make sure nginx always send HSTS header (#16633)
By default, it'll only send those headers when the response code is one of the following:
- 200, 201, 204, 206, 301, 302, 303, 304, 307 & 308

As all the traffics should be https, the http protocol only exists to do 301 redirect,
and always send the HSTS header is almost one of the best practices, we should set
nginx to do so.

Reference:
- https://nginx.org/en/docs/http/ngx_http_headers_module.html#add_header
- https://ssl-config.mozilla.org/
3 years ago
..
mastodon-sidekiq.service Preload libjemalloc.so for long-running Ruby (#16462) 4 years ago
mastodon-streaming.service templates/systemd/mastodon: update sandbox mode (#16103) 4 years ago
mastodon-web.service Preload libjemalloc.so for long-running Ruby (#16462) 4 years ago
nginx.conf Make sure nginx always send HSTS header (#16633) 3 years ago