Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
6b42696aee
1 changed files with 33 additions and 2 deletions
|
|
@ -256,12 +256,14 @@ let secrets = import ../secrets.nix; in
|
||||||
'';
|
'';
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
locations."/public" = {
|
locations."/public" = {
|
||||||
basicAuth = {};
|
basicAuth = {};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
autoindex off;
|
autoindex off;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
locations."/plantuml" = {
|
locations."/plantuml" = {
|
||||||
basicAuth = {};
|
basicAuth = {};
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
@ -270,6 +272,7 @@ let secrets = import ../secrets.nix; in
|
||||||
proxyPass = "http://127.0.0.1:8080/plantuml";
|
proxyPass = "http://127.0.0.1:8080/plantuml";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
locations."/transmission/web/" = {
|
locations."/transmission/web/" = {
|
||||||
basicAuth = userlist;
|
basicAuth = userlist;
|
||||||
proxyPass = "http://127.0.0.1:9091/transmission/web/";
|
proxyPass = "http://127.0.0.1:9091/transmission/web/";
|
||||||
|
|
@ -280,6 +283,7 @@ let secrets = import ../secrets.nix; in
|
||||||
proxyPass = "http://127.0.0.1:9091/transmission/rpc";
|
proxyPass = "http://127.0.0.1:9091/transmission/rpc";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
#locations."/jellyfin/" = {
|
#locations."/jellyfin/" = {
|
||||||
##basicAuth = userlist;
|
##basicAuth = userlist;
|
||||||
#proxyPass = "http://127.0.0.1:8096/jellyfin/";
|
#proxyPass = "http://127.0.0.1:8096/jellyfin/";
|
||||||
|
|
@ -295,15 +299,28 @@ let secrets = import ../secrets.nix; in
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
locations."/refinery/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:8888/";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
locations."/refinery/api/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:8888/api/";
|
||||||
|
extraConfig = ''
|
||||||
|
chunked_transfer_encoding off;
|
||||||
|
proxy_buffering off;
|
||||||
|
proxy_cache off;
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
locations."/git/" = {
|
locations."/git/" = {
|
||||||
basicAuth = {};
|
basicAuth = {};
|
||||||
proxyPass = "http://127.0.0.1:27365/";
|
proxyPass = "http://127.0.0.1:27365/";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
charset UTF-8;
|
charset UTF-8;
|
||||||
disable_symlinks off;
|
disable_symlinks off;
|
||||||
|
|
@ -378,6 +395,20 @@ let secrets = import ../secrets.nix; in
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
virtualisation.oci-containers.containers = {
|
||||||
|
refinery = {
|
||||||
|
image = "ghcr.io/graphs4value/refinery:0.2.1-snapshot";
|
||||||
|
ports = [ "127.0.0.1:8888:8888" ];
|
||||||
|
environment = {
|
||||||
|
REFINERY_PUBLIC_HOST = "deemz.org";
|
||||||
|
REFINERY_WEBSOCKET_URL = "wss://deemz.org/refinery/xtext-service";
|
||||||
|
REFINERY_API_BASE = "https://deemz.org/refinery/api/v1/";
|
||||||
|
# Timeouts
|
||||||
|
REFINERY_MODEL_GENERATION_TIMEOUT_SEC = "60";
|
||||||
|
REFINERY_MODEL_GENERATION_THREAD_COUNT = "10";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue