Skip to content

Public Status Page

Xray Checker includes a built-in public status page that allows you to share proxy availability information with your users without exposing sensitive configuration details.

Overview

The public status page provides:

  • Real-time proxy status (online/offline)
  • Latency information for each proxy
  • Clean, responsive interface
  • Automatic updates

When enabled, sensitive information like server addresses, ports, and configuration details are hidden from view.

Enabling Public Mode

Set the environment variable:

Terminal window
WEB_PUBLIC=true

Or use the CLI flag:

Terminal window
xray-checker --web-public

What’s Hidden in Public Mode

InformationPublic ModeNormal Mode
Proxy Name✓ Visible✓ Visible
Status✓ Visible✓ Visible
Latency✓ Visible✓ Visible
Server Address✗ Hidden✓ Visible
Port✗ Hidden✓ Visible
Local Proxy Port✗ Hidden✓ Visible
Configuration Details✗ Hidden✓ Visible

Custom Subscription Name

You can set a custom name for your status page using the subscription info from your provider, or set it manually:

Terminal window
# Will be displayed as the page title
SUBSCRIPTION_URL=https://provider.com/sub#MyVPN

URL Customization

The status page supports URL parameters to customize the view:

ParameterDescription
hideHeader=trueHide header with logo and controls
hideStats=trueHide statistics cards
hideServersHeader=trueHide “Servers” heading
hideControls=trueHide search and filters
hideStatusInfo=trueHide technical info footer
hideFooter=trueHide page footer
hideBackground=trueTransparent background

Example: Minimal Embed

https://your-server.com/?hideHeader=true&hideFooter=true&hideControls=true

Use Cases

Sharing with Users

Provide your users with a link to check proxy availability:

https://status.yourdomain.com/

Embedding in Documentation

Use iframe to embed the status page:

<iframe
src="https://status.yourdomain.com/?hideHeader=true&hideFooter=true"
width="100%"
height="400"
frameborder="0"
>
</iframe>

Integration with Status Services

The public page works well behind reverse proxies like Nginx or Cloudflare for additional security and caching.