Dashboard

JSON Configuration

Complete configuration in JSON format for administrative purposes.

{
  "mapping": {
    "dice-roll.online": {
      "ssl_key": "floh/5.key",
      "ssl_cert": "floh/dice-r",
      "zone_id": "5_93",
      "cert_id": "84c22524-e-bad3-9bdae0bbe3ad",
      "cert_version": "2024-11-25981d4f572fdf"
    },
    "something.dice-roll.online": {
      "ssl_key": "floh/dice-41125.key",
      "ssl_cert": "floh/dice0241125.cert",
      "zone_id": "5_930",
      "cert_id": "84c22524-9f3e0bbe3ad",
      "cert_version": "2024-111d4f572fdf"
    },
    "*.dice-roll.online": {
      "ssl_key": "floh/dy",
      "ssl_cert": "floh/dirt",
      "zone_id": "5_90",
      "cert_id": "84c22524-9f3e-49bdae0bbe3ad",
      "cert_version": "2024-11--11-981d4f572fdf"
    }
  },
  "config": {
    "5_930": {
      "general": {
        "token": "hgj",
        "debug_headers": 0,
        "request_headers": [],
        "response_headers": []
      },
      "zone_id": "5_930",
      "organization": "floh",
      "proxy": {
        "enable": 1,
        "proxy_read_timeout": 90,
        "proxy_send_timeout": 90,
        "proxy_connect_timeout": 1,
        "method": "random",
        "upstreams": [
          {
            "group": "Dice Dice",
            "order": 1,
            "scheme": "https",
            "host": "1.1.1.1",
            "port": 9337,
            "weight": 1
          }
        ]
      },
      "page_rules": [
        {
          "matcher": "~ ^/static",
          "order": 1,
          "config": {
            "smartproxy": {
              "html_caching": 1,
              "minify_js": 1,
              "minify_css": 1
            }
          }
        }
      ],
      "conditions": [
        {
          "order": 1,
          "rule": "Dice",
          "expression": "isIn(req.host,{'.flohs.me','www.online','dice'})",
          "stop": 1,
          "config": {
            "proxy": {
              "enable": 1,
              "proxy_read_timeout": 90,
              "proxy_send_timeout": 90,
              "proxy_connect_timeout": 1,
              "method": "random",
              "upstreams": [
                {
                  "group": "Dice Dice",
                  "order": 1,
                  "scheme": "https",
                  "host": "8.8.8.8",
                  "port": 9337,
                  "weight": 1
                }
              ]
            }
          }
        }
      ],
      "smartproxy": {
        "enable": 1,
        "expire_in": 0,
        "minify_js": 1,
        "minify_css": 1,
        "ssi_enable": 0,
        "minify_html": 1,
        "html_caching": 0,
        "remove_bangs": 0,
        "cache_control": 1,
        "keep_comments": 0,
        "minify_css_level": 1,
        "minify_inline_js": 1,
        "keep_closing_tags": 0,
        "minify_inline_css": 1,
        "cache_key_page_str": "host,uri",
        "cache_key_whiteparams": "",
        "do_not_minify_doctype": 0,
        "image_compress_configs": {
          "png": {
            "max": 98,
            "min": 40
          },
          "avif": {
            "enable": 1,
            "quality": 40
          },
          "jpeg": {
            "max": 98,
            "min": 40,
            "method": "ssim",
            "target": 0.9997
          },
          "webp": {
            "enable": 1,
            "quality": 75
          },
          "enable": 0
        },
        "widget_config_file_name": "default",
        "cache_key_personalize_str": "cookie_sid:0",
        "keep_spaces_between_attributes": 0,
        "remove_processing_instructions": 0,
        "keep_html_and_head_opening_tags": 0,
        "ensure_spec_compliant_unquoted_attribute_values": 0
      },
      "auth": {
        "basic": {
          "users": {
            "aaaaaaa": "009f77d457fca51aeef85d9a5ae1f32e",
            "bbbbbbb": "81e19a03d143efb33f653f4e060757b1"
          },
          "enable": 0
        }
      },
      "security": {
        "enable": 1
      },
      "cache": {
        "cache_tags": [
          {
            "header": "x-cache-tags",
            "separator": ","
          },
          {
            "header": "xkey",
            "separator": ","
          }
        ],
        "tag_ignore": ""
      }
    }
  }
}