mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-27 06:10:53 +01:00
Changed subdomains in VPN
This commit is contained in:
parent
727fcbb76e
commit
6215e2b195
2 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@ in
|
|||
|
||||
mkVPNSubdomain = name: port: {
|
||||
luj.nginx.enable = true;
|
||||
services.nginx.virtualHosts."${name}.luj.home" = {
|
||||
services.nginx.virtualHosts."${name}.luj" = {
|
||||
sslCertificate = "/etc/nginx/certs/subdomains/cert.pem";
|
||||
sslCertificateKey = "/etc/nginx/certs/subdomains/key.pem";
|
||||
forceSSL = true;
|
||||
|
|
|
@ -12,9 +12,9 @@ in
|
|||
{
|
||||
luj.nginx.enable = true;
|
||||
|
||||
services.nginx.virtualHosts."luj.home" = {
|
||||
sslCertificate = "/etc/nginx/certs/home/cert.pem";
|
||||
sslCertificateKey = "/etc/nginx/certs/home/key.pem";
|
||||
services.nginx.virtualHosts."home.luj" = {
|
||||
sslCertificate = "/etc/nginx/certs/subdomains/cert.pem";
|
||||
sslCertificateKey = "/etc/nginx/certs/subdomains/key.pem";
|
||||
forceSSL = true;
|
||||
root = "/srv/homer/";
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue