314 current 2025-10-11 18:09:02 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -24,8 +24,8 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
# add to udr to glance
|
# add to udr to glance
|
||||||
modules.services.glance.links.<category> = [{
|
modules.services.glance.links.system = [{
|
||||||
title = service;
|
title = bebe;
|
||||||
url = "https://10.10.0.1";
|
url = "https://10.10.0.1";
|
||||||
error-url = "https://10.10.0.1";
|
error-url = "https://10.10.0.1";
|
||||||
check-url = "https://10.10.0.1";
|
check-url = "https://10.10.0.1";
|
||||||
|
|||||||
@@ -98,9 +98,15 @@ in
|
|||||||
services.nginx.virtualHosts."${cfg.url}" = {
|
services.nginx.virtualHosts."${cfg.url}" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
sslCertificate = sec."ssl_blakedheld_crt".path;
|
sslCertificate = sec."ssl_blakedheld_crt".path;
|
||||||
sslCertificateKey = sec."ssl_blakedheld_key".path;
|
extraConfig = ''
|
||||||
|
proxy_buffering off;
|
||||||
|
'';
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:${toString cfg.port}";
|
proxyPass = "http://127.0.0.1:${toString cfg.port}";
|
||||||
|
extraConfig =
|
||||||
|
"proxy_set_header Upgrade $http_upgrade;" +
|
||||||
|
"proxy_set_header Connection upgrade;"
|
||||||
|
;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user