Onlyoffice-Documentserver: Difference between revisions

imported>Onny
mNo edit summary
Onny (talk | contribs)
Adapt alternative Caddy config
 
(2 intermediate revisions by 2 users not shown)
Line 23: Line 23:


=== Caddy web server ===
=== Caddy web server ===
{{warning|Onlyoffice is very particular about it headers and if there are some missing or different than what upstream expects, a seemingly completely unrelated portion of the software like font rendering can break. The module maintainer can only fully support nginx as this is the only webserver upstream supplies config files for in their docker image}}


Instead of using the default [[Nginx]] web server, an configuration for [[Caddy]] might look like this
Instead of using the default [[Nginx]] web server, an configuration for [[Caddy]] might look like this


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
services.nginx.enable = lib.mkForce false;
users.users.nginx = {
  group = "nginx";
  isSystemUser = true;
};
users.groups.nginx = {};
services.caddy = {
services.caddy = {
   virtualHosts = {
   virtualHosts = {
Line 42: Line 51:


[[Category:Server]]
[[Category:Server]]
[[Category:Applications]]
[[Category:Web Applications]]
[[Category:Web Applications]]