+++ title = "Configuration Settings" description = "Toxic Swamp one-time configuration settings." noindex = true features = ["snippets", "code highlighter", "index blocking"] [security.csp.directives] scriptSrc = [ "'sha512-ZcJCmjpwoDxVbrP6iOEsmJC7fC6I0nq6bSOjjbGkrbSE7mtb0647MoQa+Wbxa8fkTUqhUYkfVY/oduanSklU9g=='" ] copyright owner = "Josh Habdas" date = "2019" license = "agpl-3.0-or-later" +++
You may print this page. If you refresh you will lose your settings.
Add the following to your site config:
Additionally add the following below the address
setting:
{{< hackcss-card header="config.toml" >}} {{< highlight toml "linenos=inline,linenostart=39" >}} proxies = ["proxy-name"] # Required, ordered list of custom proxy names {{< /highlight >}} {{< /hackcss-card >}}
And create proxies.toml
in your site data
directory:
{{< highlight sh >}}
mkdir -p data/modules/toxic_swamp &&
touch data/modules/toxic_swamp/proxies.toml
{{< /highlight >}}
With the following file contents:
{{< hackcss-card header="data/modules/toxic_swamp/proxies.toml" >}} {{< highlight toml "linenos=inline" >}} ["proxy-name"] server = "$server" # Required, use ws://localhost:8181 for testing pool = "$pool" # Required, key for pool registered at the server password = "$poolpass" # Optional, password for pool you're mining to, if any {{< /highlight >}} {{< /hackcss-card >}}
Contact your pool admin for help configuring your proxy for their pool or {{< external href="https://git.habd.as/comfusion/toxic-swamp/issues" text="Submit an Issue" />}} if you have a question, found a bug or have an enahncement request for Toxic Swamp.
Then rebuild your site to start Earning Rewards.