world-wide-node/config/config.json.example
2024-12-06 23:20:19 +03:00

26 lines
1.1 KiB
Text

{
"ports": [],
"_": "This defines the port(s) where WWN will run. Port 443 will automatically run in HTTPS mode. Note: You can set, technically unlimited amount of ports, but they will act the same. 80,443 are HTTP and HTTPS (unsupported right now)",
"CWS_Allow_Everyone": false,
"_": "Allow EVERYONE to connect to WWN's Config WebSocket. DO NOT TURN THIS ON IF YOU DONT KNOW WHAT YOURE DOING!!!",
"CWS_Allowed_IPs": ["localhost", "127.0.0.1"],
"_": "Defines allowed IPs, which can interact with the Config WebSocket. Note: There is no password can be set, so be careful.",
"customXPoweredBy": "",
"_": "Will overwrite WWN/VERSION with this string.",
"setXPoweredBy": true,
"_": "If this is UNCHECKED, will remove X-Powered-By header from the response",
"customServer": "",
"_": "Will overwrite WWN/VERSION with this string.",
"setServer": true,
"_": "If this is UNCHECKED, will remove Server header from the response.",
"mismatchedHostMessage": "Nuh!",
"_":"If someone will try to hijack the host, this will get sent instead."
}