summaryrefslogtreecommitdiff
path: root/irclog/nginx.config
diff options
context:
space:
mode:
Diffstat (limited to 'irclog/nginx.config')
-rw-r--r--irclog/nginx.config9
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>';
+ }
+}