From ba9fcd3a7b221a9ffeaca809c5051a7c4a6e143a Mon Sep 17 00:00:00 2001 From: andreimarcu Date: Sun, 18 Oct 2015 11:08:47 -0400 Subject: [PATCH] Document allowing hotlinking --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1c45e6e..d98617e 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,8 @@ Usage - ```-siteurl "http://mylinx.example.org/"``` -- the site url (for generating links) - ```-filespath files/"``` -- Path to store uploads (default is files/) - ```-metapath meta/``` -- Path to store information about uploads (default is meta/) -- ```-maxsize 4294967296``` maximum upload file size in bytes (default 4GB) +- ```-maxsize 4294967296``` -- maximum upload file size in bytes (default 4GB) +- ```-allowhotlink``` -- Allow file hotlinking - ```-contentsecuritypolicy "..."``` -- Content-Security-Policy header for pages (default is "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; referrer origin;") - ```-filecontentsecuritypolicy "..."``` -- Content-Security-Policy header for files (default is "default-src 'none'; img-src 'self'; object-src 'self'; media-src 'self'; sandbox; referrer origin;"") - ```-xframeoptions "..." ``` -- X-Frame-Options header (default is "SAMEORIGIN")