Office : Use container Rabbitmq.
This commit is contained in:
parent
12ddfaaa56
commit
46b11cf4c2
|
@ -31,6 +31,8 @@ in {
|
||||||
|
|
||||||
jwtSecretFile = "/var/lib/onlyoffice/jwt";
|
jwtSecretFile = "/var/lib/onlyoffice/jwt";
|
||||||
|
|
||||||
|
rabbitmqUrl = "amqp://guest:guest@${container.config.rabbitmq.address}:${toString container.config.rabbitmq.port}";
|
||||||
|
|
||||||
examplePort = cfg.port;
|
examplePort = cfg.port;
|
||||||
enableExampleServer = true;
|
enableExampleServer = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,6 +19,9 @@ in {
|
||||||
listenAddress = cfg.address;
|
listenAddress = cfg.address;
|
||||||
port = cfg.port;
|
port = cfg.port;
|
||||||
dataDir = "/var/lib/rabbitmq";
|
dataDir = "/var/lib/rabbitmq";
|
||||||
|
configItems = {
|
||||||
|
"loopback_users" = "none";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -11,6 +11,7 @@ in {
|
||||||
# allow ${container.localAccess};
|
# allow ${container.localAccess};
|
||||||
# allow ${container.config.vpn.address};
|
# allow ${container.config.vpn.address};
|
||||||
# deny all;
|
# deny all;
|
||||||
|
add_header X-Forwarded-Proto https;
|
||||||
proxy_pass http://''$${name}$request_uri;
|
proxy_pass http://''$${name}$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue