可视化 Diff 工具

对比配置文件 左右对比 Diff

贴上你的 config,看看和原始版本有哪些变化。

Apache HTTP Server - /etc/apache2/mods-available/http2.conf

Debian 13 (Trixie)

查看原始文件 →

默认配置

Debian 13 (Trixie)
Protocols h2 h2c http/1.1 # # HTTP/2 push configuration # # H2Push on # # # Default Priority Rule # # H2PushPriority * After 16 # # # More complex ruleset: # # H2PushPriority * after # H2PushPriority text/css before # H2PushPriority image/jpeg after 32 # H2PushPriority image/png after 32 # H2PushPriority application/javascript interleaved # # # Configure some stylesheet and script to be pushed by the webserver # # <FilesMatch "\.html$"> # Header add Link "</style.css>; rel=preload; as=style" # Header add Link "</script.js>; rel=preload; as=script" # </FilesMatch> # Since mod_http2 doesn't support the mod_logio module (which provide the %O format), # you may want to change your LogFormat directive as follow: # # LogFormat "%v:%p %h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined # LogFormat "%h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" combined # LogFormat "%h %l %u %t \"%r\" %>s %B" common

你的配置

已删除 已新增

拖文件到这里,或点击选择

如何使用这个工具

  1. 1 把你的配置文件粘贴或拖拽到上面的区域
  2. 2 Diff 会立刻显示,标出你和默认配置的差异
  3. 3 绿色是你新增的,红色是从默认配置里删掉的
  4. 4 用切换按钮在左右对比和统一 Diff 视图之间切换