diff options
| author | Mistivia <i@mistivia.com> | 2025-10-24 00:02:08 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-10-24 00:02:08 +0800 |
| commit | 5c71d2a538a93fd4a4fc06cb7941231cc5c0b104 (patch) | |
| tree | eabed03636eb9210234a317751924034d665fef1 /irclog/nginx.config | |
| parent | e1b67e5d2e13acbf0bf1673025e129556679e5cf (diff) | |
add irclog
Diffstat (limited to 'irclog/nginx.config')
| -rw-r--r-- | irclog/nginx.config | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/irclog/nginx.config b/irclog/nginx.config new file mode 100644 index 0000000..d00dae1 --- /dev/null +++ b/irclog/nginx.config @@ -0,0 +1,9 @@ +server { + # ... + location /irclog/ { + charset UTF-8; + autoindex on; + sub_filter_types text/html; + sub_filter '</body>' '<script src="/irclog/linksub.js"></script></body>'; + } +} |
