Added self signed certs

This commit is contained in:
Fasterino (Server)
2025-02-27 23:29:25 +03:00
parent 972b671b92
commit cd2db5b04f
7 changed files with 119 additions and 24 deletions

View File

@@ -39,11 +39,12 @@ const config: {
type Domain = {
/**
* Name of folder with domain certificates
* If you leave it blank and AUTO_CERTS - 1, certificate will be generated automatically
* Will use this two files:
* * %CERTS_PATH%/%cert-name%/privkey.pem
* * %CERTS_PATH%/%cert-name%/fullchain.pem
*/
'cert-name': string
'cert-name'?: string
} & {
[path: string]: StaticProxyInfo | DynamicProxyInfo
}