removed home.ingolf-wagner.de
This commit is contained in:
parent
df61e3166e
commit
11aa803200
1 changed files with 38 additions and 38 deletions
|
@ -285,44 +285,44 @@ in {
|
|||
};
|
||||
|
||||
|
||||
"home.ingolf-wagner.de" = {
|
||||
listen = [
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 4443;
|
||||
ssl = true;
|
||||
}
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 80;
|
||||
ssl = false;
|
||||
}
|
||||
];
|
||||
extraConfig = ''
|
||||
proxy_buffering off;
|
||||
# client certificate
|
||||
ssl_client_certificate ${<secrets/client-cert/ca.crt>};
|
||||
# make verification optional, so we can display a 403 message to those
|
||||
# who fail authentication
|
||||
ssl_verify_client optional;
|
||||
'';
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://pepe.private:8123";
|
||||
proxyWebsockets = true;
|
||||
extraConfig = ''
|
||||
# if the client-side certificate failed to authenticate, show a 403
|
||||
# message to the client
|
||||
if ($ssl_client_verify != SUCCESS) {
|
||||
return 403;
|
||||
}
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
'';
|
||||
};
|
||||
};
|
||||
#"home.ingolf-wagner.de" = {
|
||||
# listen = [
|
||||
# {
|
||||
# addr = "0.0.0.0";
|
||||
# port = 4443;
|
||||
# ssl = true;
|
||||
# }
|
||||
# {
|
||||
# addr = "0.0.0.0";
|
||||
# port = 80;
|
||||
# ssl = false;
|
||||
# }
|
||||
# ];
|
||||
# extraConfig = ''
|
||||
# proxy_buffering off;
|
||||
# # client certificate
|
||||
# ssl_client_certificate ${<secrets/client-cert/ca.crt>};
|
||||
# # make verification optional, so we can display a 403 message to those
|
||||
# # who fail authentication
|
||||
# ssl_verify_client optional;
|
||||
# '';
|
||||
# forceSSL = true;
|
||||
# enableACME = true;
|
||||
# locations."/" = {
|
||||
# proxyPass = "http://pepe.private:8123";
|
||||
# proxyWebsockets = true;
|
||||
# extraConfig = ''
|
||||
# # if the client-side certificate failed to authenticate, show a 403
|
||||
# # message to the client
|
||||
# if ($ssl_client_verify != SUCCESS) {
|
||||
# return 403;
|
||||
# }
|
||||
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# proxy_set_header Upgrade $http_upgrade;
|
||||
# proxy_set_header Connection $connection_upgrade;
|
||||
# '';
|
||||
# };
|
||||
#};
|
||||
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue