Skip to content

Commit

Permalink
p-body: add Front-End-Https header
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo committed May 22, 2023
1 parent d2641a6 commit aebd418
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hosts/p-body/nginx.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ in {
enableACME = true;
addSSL = true;

locations = mkProxy "/" "${toString config.services.hydra.port}";
locations."/" = {
proxyPass = "http://localhost:${toString config.services.hydra.port}";
extraConfig = ''
add_header Front-End-Https on;
'';
};
};

"grafana.${domain}" = {
Expand Down

0 comments on commit aebd418

Please sign in to comment.