update
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
imports =
|
||||
[
|
||||
#./7dtd.nix
|
||||
./vaheim.nix
|
||||
# ./vaheim.nix
|
||||
./sshd.nix
|
||||
./teamspeak.nix
|
||||
./nginx.nix
|
||||
@@ -20,7 +20,7 @@
|
||||
# ./jitsi.nix
|
||||
./docker.nix
|
||||
./mailcow.nix
|
||||
./unciv.nix
|
||||
# ./unciv.nix
|
||||
# ./hydra.nix
|
||||
./postgres.nix
|
||||
];
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
myPhp = pkgs.php81.buildEnv {
|
||||
@@ -128,7 +129,7 @@ in
|
||||
"~ ^/(?:\\.(?!well-known)|autotest|occ|issue|indie|db_|console)".extraConfig = ''
|
||||
return 404;
|
||||
'';
|
||||
"~ ^\\/(?:index|remote|public|cron|core\\/ajax\\/update|status|ocs\\/v[12]|updater\\/.+|oc[ms]-provider\\/.+|.+\\/richdocumentscode\\/proxy)\\.php(?:$|\\/)" = {
|
||||
"~ ^\\/(?:index|remote|public|cron|core\\/ajax\\/update|status|ocs\\/v[12]|updater\\/.+|ocs-provider\\/.+|.+\\/richdocumentscode\\/proxy)\\.php(?:$|\\/)" = {
|
||||
priority = 500;
|
||||
extraConfig = ''
|
||||
include ${config.services.nginx.package}/conf/fastcgi.conf;
|
||||
@@ -151,7 +152,7 @@ in
|
||||
expires 6M;
|
||||
access_log off;
|
||||
'';
|
||||
"~ ^\\/(?:updater|ocs-provider|ocm-provider)(?:$|\\/)".extraConfig = ''
|
||||
"~ ^\\/(?:updater|ocs-provider)(?:$|\\/)".extraConfig = ''
|
||||
try_files $uri/ =404;
|
||||
index index.php;
|
||||
'';
|
||||
|
||||
@@ -5,11 +5,11 @@ let
|
||||
lPort = 9081;
|
||||
nexusPkgs = pkgs.nexus.overrideAttrs (oldAttrs: rec {
|
||||
pname = "nexus";
|
||||
version = "3.53.1-02";
|
||||
version = "3.63.0-01";
|
||||
sourceRoot = "${pname}-${version}";
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-${version}-unix.tar.gz";
|
||||
sha256 = "sha256-+jbGdESMwAfJas32i+BKGBQoPFqioawqT6JknnyNANQ=";
|
||||
sha256 = "sha256-6ATVdlZJSnaUc7srjLJBsazdoimSoM7xXvL0Bm2MEtM=";
|
||||
};
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
Reference in New Issue
Block a user