mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-09-28 04:37:40 +02:00
default 0.0.0.0, changes to self-signed cert
This commit is contained in:
parent
9556c7ca31
commit
f786444145
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -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: ''
|
||||
|
Loading…
Reference in New Issue
Block a user