nixos/firefox-syncserver: remove extra add_header
syncstorage-rs sets this header starting with 0.12.3.
This commit is contained in:
parent
f97c9d60e4
commit
3826e303c6
|
@ -313,10 +313,6 @@ in
|
||||||
forceSSL = cfg.singleNode.enableTLS;
|
forceSSL = cfg.singleNode.enableTLS;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:${toString cfg.settings.port}";
|
proxyPass = "http://127.0.0.1:${toString cfg.settings.port}";
|
||||||
# source mentions that this header should be set
|
|
||||||
extraConfig = ''
|
|
||||||
add_header X-Content-Type-Options nosniff;
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue