%- include("partials/shared_header", { title: "Proof of Work Verification Settings - OAI Reverse Proxy Admin" }) %>
The Proof-of-Work difficulty level is used to determine how much work a client must perform to earn a temporary user token. Higher difficulty levels require more work, which can help mitigate abuse by making it more expensive for attackers to generate tokens. However, higher difficulty levels can also make it more difficult for legitimate users to generate tokens. Refer to documentation for guidance.
<%if (captchaMode === "none") { %>
PoW verification is not enabled. Set CAPTCHA_MODE=proof_of_work to enable.
You can specify IP ranges to whitelist or blacklist from accessing the proxy. Entries can be specified as single addresses or CIDR notation. IPv6 is supported but not recommended for use with the current version of the proxy.
Note: Changes here are not persisted across server restarts. If you want to make changes permanent, you can copy the values to your deployment configuration.
<% for (let i = 0; i < whitelists.length; i++) { %> <%- include("partials/admin-cidr-widget", { list: whitelists[i] }) %> <% } %> <% for (let i = 0; i < blacklists.length; i++) { %> <%- include("partials/admin-cidr-widget", { list: blacklists[i] }) %> <% } %>If you have made changes with the UI, you can copy the values below to your deployment configuration to persist them across server restarts.
<% for (let i = 0; i < whitelists.length; i++) { %><%= whitelists[i].name %>=<%= whitelists[i].ranges.join(",") %><% } %>
<% for (let i = 0; i < blacklists.length; i++) { %><%= blacklists[i].name %>=<%= blacklists[i].ranges.join(",") %><% } %>