how to create public server

This commit is contained in:
creeper123123321 2021-04-29 14:54:36 -03:00 committed by GitHub
parent 6af4a7f27a
commit d038924448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,11 @@ java -jar VIAaaS-all.jar
- Default Minecraft: ```viaaas.localhost``` with port 25565
- Default WS URL: ```wss://localhost:25543/ws```
### How to create a public server
- You need a domain wildcarding to VIAaaS instance, like ``*.example.com -> 192.168.123.123``. You can use DuckDNS DDNS service.
- Open the Minecraft port (25565)
- The HTTPS page needs a certificate, you can use Apache Web Server (with Let's Encrypt certificate) as a proxy. See apache_copypasta.txt file.
## CORS Proxy
- For less chance of Mojang seeing the login as suspect, you (the player) should set up a CORS proxy on your machine.
- Note the ending slash in cors-anywhere address