formatting

This commit is contained in:
Osman Faruk Bayram 2025-10-29 22:54:42 +03:00
parent 84fee06732
commit 48c6315748

View file

@ -182,18 +182,15 @@
) )
# if nginx and glance are both enabled, set up a reverse proxy # if nginx and glance are both enabled, set up a reverse proxy
(lib.mkIf (lib.mkIf (config.osbmModules.services.nginx.enable && config.osbmModules.services.glance.enable) {
(config.osbmModules.services.nginx.enable && config.osbmModules.services.glance.enable) services.nginx.virtualHosts."home.osbm.dev" = {
{
services.nginx.virtualHosts."home.osbm.dev" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/" = { locations."/" = {
proxyPass = "http://localhost:${toString config.services.glance.settings.server.port}"; proxyPass = "http://localhost:${toString config.services.glance.settings.server.port}";
proxyWebsockets = true; proxyWebsockets = true;
};
}; };
} };
) })
]; ];
} }