Maktub_Wiki Maktub_Wiki
主站 (opens new window)
  • 服务搭建
  • 网络服务
  • 开源框架
  • 操作系统
  • iOS/MacOS
  • 算法导论(Python)
  • Leetcode
  • 线性代数
主站 (opens new window)
  • 服务搭建
  • 网络服务
  • 开源框架
  • 操作系统
  • iOS/MacOS
  • 算法导论(Python)
  • Leetcode
  • 线性代数
  • Node.js

    • 脚本
  • Git

    • Github Actions
  • Caddy

    • 基础配置
    • abort应用
      • 说明
        • 场景1:未匹配到规则,关闭当前请求
    • Caddy加速Docker
    • Caddy加速OpenAi api
  • V2ray

    • 入口分流
  • Realm

    • 多端口转发
  • Docker

    • 配置
  • NextCloud
  • Hexo
  • vuepress-theme-vdoing
  • 开源框架
  • Caddy
Maktub_小明
2024-08-20
目录

abort应用

# 说明

关闭当前请求

# 场景1:未匹配到规则,关闭当前请求

*.example.com {
    @foo host foo.example.com
    handle @foo {
        respond "This is foo!" 200
    }

    handle {
        abort
    }
}
上次更新: 2025/03/22, 03:52:10
基础配置
Caddy加速Docker

← 基础配置 Caddy加速Docker→

Theme by Vdoing | Copyright © 2021-2025 Maktub_小明 | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式