Skip to content

Commit

Permalink
Fix manual build
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Apr 25, 2024
1 parent ca1b011 commit 996fc4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/nginx.nix
Expand Up @@ -71,6 +71,7 @@ in

locations = lib.mkOption {
type = with lib.types; attrsOf (submodule {
options.extraConfig = lib.mkOption { };
config.extraConfig = lib.mkIf cfg.setHSTSHeader (/* nginx */ ''
more_set_headers "Strict-Transport-Security: max-age=63072000; includeSubDomains; preload";
'' + cfg.commonServerConfig + cfgv.commonLocationsConfig);
Expand Down

0 comments on commit 996fc4c

Please sign in to comment.