mirror of
https://github.com/RGBCube/Site
synced 2025-08-01 13:37:49 +00:00
Fix int errors in flake, add toString
This commit is contained in:
parent
0c16c81c2a
commit
198b69dd1d
1 changed files with 2 additions and 2 deletions
|
@ -153,7 +153,7 @@
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
||||||
locations."/".proxyPass = "http://localhost:${cfg.port}";
|
locations."/".proxyPass = "http://localhost:${toString cfg.port}";
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualHosts."www.${urlStripped}" = {
|
virtualHosts."www.${urlStripped}" = {
|
||||||
|
@ -170,7 +170,7 @@
|
||||||
useACMEHost = urlStripped;
|
useACMEHost = urlStripped;
|
||||||
|
|
||||||
locations."/".extraCofig = ''
|
locations."/".extraCofig = ''
|
||||||
proxy_pass http://localhost:${cfg.port}/404;
|
proxy_pass http://localhost:${toString cfg.port}/404;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue