nixos/nextcloud: use matching nginx package when configuring nginx
NixOS currently defaults services.nginx.package to nginxStable. Including configuration files from nginxMainline could potentially cause incompatible configuration.
This commit is contained in:
parent
b015c68def
commit
a7d9dcab7e
@ -426,7 +426,7 @@ in {
|
||||
"~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+)\\.php(?:$|/)" = {
|
||||
priority = 500;
|
||||
extraConfig = ''
|
||||
include ${pkgs.nginxMainline}/conf/fastcgi.conf;
|
||||
include ${config.services.nginx.package}/conf/fastcgi.conf;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
fastcgi_param HTTPS ${if cfg.https then "on" else "off"};
|
||||
|
Loading…
Reference in New Issue
Block a user