wfc-server/config_example.xml
2024-04-21 22:50:19 -04:00

59 lines
2.1 KiB
XML

<Config>
<!-- The address the GameSpy services will bind to -->
<gsAddress>127.0.0.1</gsAddress>
<!-- The address the NAS HTTP server will bind to -->
<nasAddress>127.0.0.1</nasAddress>
<nasPort>80</nasPort>
<!-- The address the NAS HTTPS proxy server will bind to -->
<nasAddressHttps>127.0.0.1</nasAddressHttps>
<nasPortHttps>443</nasPortHttps>
<enableHttps>false</enableHttps>
<enableHttpsExploitWii>false</enableHttpsExploitWii>
<enableHttpsExploitDS>false</enableHttpsExploitDS>
<!-- Path to the certificate and key used for modern web browser requests -->
<certPath>fullchain.pem</certPath>
<keyPath>privkey.pem</keyPath>
<!-- Path to the certificate and key used for the Wii DNS exploit -->
<certDerPathWii>naswii-cert.der</certDerPathWii>
<keyPathWii>naswii-key.pem</keyPathWii>
<!-- Path to the certificate, Wii client certificate and key used for the DS DNS exploit -->
<certDerPathDS>nas-cert.der</certDerPathDS>
<wiiCertDerPathDS>nwc.der</wiiCertDerPathDS>
<keyPathDS>nas-key.pem</keyPathDS>
<!-- Allow default Dolphin device keys to be used -->
<allowDefaultDolphinKeys>true</allowDefaultDolphinKeys>
<!-- Database Credentials -->
<username>username</username>
<password>password</password>
<!-- Database information -->
<databaseAddress>127.0.0.1</databaseAddress>
<databaseName>wwfc</databaseName>
<!-- Logging configuration -->
<!-- Log verbosity
0: No messages are logged.
1: General messages are logged.
2: General and error messages are logged.
3: General, error, and warning messages are logged.
4: General, error, warning, and informational messages are logged.
-->
<logLevel>4</logLevel>
<!-- Log output
None : Messages are discarded.
StdOut : Messages are written to standard output.
StdOutAndFile: Messages are written to both standard output and a file.
-->
<logOutput>StdOutAndFile</logOutput>
<!-- API secret -->
<apiSecret>hQ3f57b3tW2WnjJH3v</apiSecret>
</Config>