update nexus 3.69 und nextcloud
This commit is contained in:
@@ -112,10 +112,10 @@ in
|
|||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
absolute_redirect off;
|
absolute_redirect off;
|
||||||
location = /.well-known/carddav {
|
location = /.well-known/carddav {
|
||||||
return 301 /remote.php/dav;
|
return 301 /remote.php/dav/;
|
||||||
}
|
}
|
||||||
location = /.well-known/caldav {
|
location = /.well-known/caldav {
|
||||||
return 301 /remote.php/dav;
|
return 301 /remote.php/dav/;
|
||||||
}
|
}
|
||||||
location ~ ^/\.well-known/(?!acme-challenge|pki-validation) {
|
location ~ ^/\.well-known/(?!acme-challenge|pki-validation) {
|
||||||
return 301 /index.php$request_uri;
|
return 301 /index.php$request_uri;
|
||||||
@@ -166,7 +166,7 @@ in
|
|||||||
try_files $uri /index.php$request_uri;
|
try_files $uri /index.php$request_uri;
|
||||||
access_log off;
|
access_log off;
|
||||||
'';
|
'';
|
||||||
"~ \.woff2?$".extraConfig = ''
|
"~ \.(otf|woff2?)$".extraConfig = ''
|
||||||
try_files $uri /index.php$request_uri;
|
try_files $uri /index.php$request_uri;
|
||||||
expires 7d; # Cache-Control policy borrowed from `.htaccess`
|
expires 7d; # Cache-Control policy borrowed from `.htaccess`
|
||||||
access_log off; # Optional: Don't log access to assets
|
access_log off; # Optional: Don't log access to assets
|
||||||
|
|||||||
@@ -5,11 +5,11 @@ let
|
|||||||
lPort = 9081;
|
lPort = 9081;
|
||||||
nexusPkgs = pkgs.nexus.overrideAttrs (oldAttrs: rec {
|
nexusPkgs = pkgs.nexus.overrideAttrs (oldAttrs: rec {
|
||||||
pname = "nexus";
|
pname = "nexus";
|
||||||
version = "3.66.0-02";
|
version = "3.69.0-02";
|
||||||
sourceRoot = "${pname}-${version}";
|
sourceRoot = "${pname}-${version}";
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-${version}-unix.tar.gz";
|
url = "https://sonatype-download.global.ssl.fastly.net/nexus/3/nexus-${version}-unix.tar.gz";
|
||||||
sha256 = "sha256-m/rTgM5ptCU32Rrt1vPJpiUWvUWPbAiOqlFgHfx+8x4=";
|
sha256 = "sha256-7sgLPuM93mFEPlTd3qJY+FGVHErvgcTGJWwSBcqBgWI=";
|
||||||
};
|
};
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|||||||
Reference in New Issue
Block a user