mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-04 03:01:05 +02: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: {
|
mkVPNSubdomain = name: port: {
|
||||||
luj.nginx.enable = true;
|
luj.nginx.enable = true;
|
||||||
services.nginx.virtualHosts."${name}.luj.home" = {
|
services.nginx.virtualHosts."${name}.luj" = {
|
||||||
sslCertificate = "/etc/nginx/certs/subdomains/cert.pem";
|
sslCertificate = "/etc/nginx/certs/subdomains/cert.pem";
|
||||||
sslCertificateKey = "/etc/nginx/certs/subdomains/key.pem";
|
sslCertificateKey = "/etc/nginx/certs/subdomains/key.pem";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
|
@ -12,9 +12,9 @@ in
|
||||||
{
|
{
|
||||||
luj.nginx.enable = true;
|
luj.nginx.enable = true;
|
||||||
|
|
||||||
services.nginx.virtualHosts."luj.home" = {
|
services.nginx.virtualHosts."home.luj" = {
|
||||||
sslCertificate = "/etc/nginx/certs/home/cert.pem";
|
sslCertificate = "/etc/nginx/certs/subdomains/cert.pem";
|
||||||
sslCertificateKey = "/etc/nginx/certs/home/key.pem";
|
sslCertificateKey = "/etc/nginx/certs/subdomains/key.pem";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
root = "/srv/homer/";
|
root = "/srv/homer/";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue