empyrean: add mTLS access for icecast
This commit is contained in:
parent
87564d589f
commit
1635e6123f
@ -136,6 +136,16 @@
|
|||||||
ssl_client_certificate /etc/nginx/client-ca.crt;
|
ssl_client_certificate /etc/nginx/client-ca.crt;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
"icecast.secure.ktvb.site" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/".proxyPass = "http://10.22.20.1:8688";
|
||||||
|
extraConfig = ''
|
||||||
|
# enable mTLS
|
||||||
|
ssl_verify_client on;
|
||||||
|
ssl_client_certificate /etc/nginx/client-ca.crt;
|
||||||
|
'';
|
||||||
|
};
|
||||||
# mirror revproxy
|
# mirror revproxy
|
||||||
"mirror.alogoulogoi.com" = {
|
"mirror.alogoulogoi.com" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user