blade-tuvok: serve objdump directly
This commit is contained in:
parent
82db96db25
commit
3f3c92addc
2 changed files with 32 additions and 0 deletions
|
@ -42,4 +42,35 @@ in {
|
|||
daemons = [ "3" ];
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedTlsSettings = true;
|
||||
recommendedGzipSettings = true;
|
||||
virtualHosts."objdump.zxcvbnm.ninja" = {
|
||||
useACMEHost = "objdump.zxcvbnm.ninja";
|
||||
default = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:7480";
|
||||
extraConfig = ''
|
||||
proxy_redirect off;
|
||||
client_max_body_size 0;
|
||||
proxy_buffering off;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
email = "letsencrypt@lukegb.com";
|
||||
certs."objdump.zxcvbnm.ninja" = {
|
||||
group = config.services.nginx.group;
|
||||
dnsProvider = "cloudflare";
|
||||
credentialsFile = secrets.cloudflareCredentials;
|
||||
extraDomainNames = [
|
||||
"*.objdump.zxcvbnm.ninja"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -129,6 +129,7 @@ in {
|
|||
global.monInitialMembers = "blade-janeway, blade-tuvok, blade-paris";
|
||||
global.publicNetwork = "10.100.2.0/24";
|
||||
global.clusterNetwork = "10.100.2.0/24";
|
||||
extraConfig.rgw_dns_name = "objdump.zxcvbnm.ninja";
|
||||
mon.daemons = [ config.networking.hostName ];
|
||||
mds.daemons = [ config.networking.hostName ];
|
||||
rgw.daemons = [ config.networking.hostName ];
|
||||
|
|
Loading…
Reference in a new issue