default 0.0.0.0, changes to self-signed cert

This commit is contained in:
creeper123123321 2022-01-15 08:20:57 -03:00
parent 9556c7ca31
commit f786444145
3 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ object AspirinServer {
fun generateCert() {
File("config/https.jks").apply {
parentFile.mkdirs()
if (!exists()) generateCertificate(this)
if (!exists()) generateCertificate(this, keySizeInBits = 4096, algorithm = "SHA384withRSA")
}
}

View File

@ -1,4 +1,4 @@
# You can read more about this file: https://ktor.io/servers/configuration.html#hocon-file
# You can read more about this file: https://ktor.io/docs/configurations.html#hocon-overview
ktor {
deployment {
sslPort = 25543

View File

@ -9,7 +9,7 @@
# Port used for binding
port: 25565
# Address to bind
bind-address: localhost
bind-address: 0.0.0.0
# Proxy used to connect to backend servers
# Example: socks5://localhost:9050, socks4://localhost:9050, http://foo:bar@localhost:9080
backend-proxy: ''