mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[PR #549] [CLOSED] Add HSTS support #635
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sigoden/dufs/pull/549
Author: @alth0
Created: 2/22/2025
Status: ❌ Closed
Base:
main← Head:main📝 Commits (3)
121e6eeAdd files via upload7e47ec6Delete src/server.rs3803bc6Rename server.rs (1) to server.rs📊 Changes
3 files changed (+33 additions, -0 deletions)
View changed files
📝
src/args.rs(+15 -0)📝
src/auth.rs(+6 -0)📝
src/server.rs(+12 -0)📄 Description
This adds an optional HSTS (HTTP Strict Transport Security) header via enable-hsts: true in the config YAML or the --enable-hsts flag.
HSTS duration is set to 1 year for now.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.