fix charset
This commit is contained in:
@@ -65,9 +65,10 @@ in
|
|||||||
enableACME = true;
|
enableACME = true;
|
||||||
http2 = true;
|
http2 = true;
|
||||||
acmeRoot = lib.mkIf cfg.acme.dnsChallenge null;
|
acmeRoot = lib.mkIf cfg.acme.dnsChallenge null;
|
||||||
extraConfig = lib.mkIf (!proxyBuffering) ''
|
extraConfig = lib.concatLines [
|
||||||
proxy_buffering off;
|
(lib.optionalString (!proxyBuffering) "proxy_buffering off;")
|
||||||
'';
|
"charset utf-8;"
|
||||||
|
];
|
||||||
locations = lib.mapAttrs
|
locations = lib.mapAttrs
|
||||||
(_: { proxyPort, extraConfig }: lib.mergeAttrsList [
|
(_: { proxyPort, extraConfig }: lib.mergeAttrsList [
|
||||||
{ inherit extraConfig; }
|
{ inherit extraConfig; }
|
||||||
|
|||||||
Reference in New Issue
Block a user