fix: The caddy port must be a string
This commit is contained in:
parent
ec65523af5
commit
ec54078025
2 changed files with 1 additions and 2 deletions
|
|
@ -10,7 +10,6 @@
|
||||||
let
|
let
|
||||||
agenixOverlay = final: prev: { agenix = agenix.packages.${prev.system}.default; };
|
agenixOverlay = final: prev: { agenix = agenix.packages.${prev.system}.default; };
|
||||||
|
|
||||||
# customOverlays = import ../overlay;
|
|
||||||
customOverlays = (
|
customOverlays = (
|
||||||
final: prev: {
|
final: prev: {
|
||||||
# caddy-custom = prev.callPackage ../overlay/caddy-custom.nix { };
|
# caddy-custom = prev.callPackage ../overlay/caddy-custom.nix { };
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ in
|
||||||
import cloudflare
|
import cloudflare
|
||||||
'';
|
'';
|
||||||
virtualHosts."onlyoffice.${domain}".extraConfig = ''
|
virtualHosts."onlyoffice.${domain}".extraConfig = ''
|
||||||
reverse_proxy http://${host}:${config.services.onlyoffice.port}
|
reverse_proxy http://${host}:${toString config.services.onlyoffice.port}
|
||||||
import cloudflare
|
import cloudflare
|
||||||
# Required to circumvent bug of Onlyoffice loading mixed non-https content
|
# Required to circumvent bug of Onlyoffice loading mixed non-https content
|
||||||
header_up X-Forwarded-Proto https
|
header_up X-Forwarded-Proto https
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue