diff options
author | B Stack <bgstack15@gmail.com> | 2020-12-18 19:11:38 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-12-18 19:25:23 -0500 |
commit | 52ac4782f7acf7994d9d9e4136fc05099d252f59 (patch) | |
tree | b682e3f2c32f731ce34bcc4eddae9780781a99e5 /config/hex-zero.conf.example | |
parent | improve instructions for installing short_url (diff) | |
download | hex-zero-52ac4782f7acf7994d9d9e4136fc05099d252f59.tar.gz hex-zero-52ac4782f7acf7994d9d9e4136fc05099d252f59.tar.bz2 hex-zero-52ac4782f7acf7994d9d9e4136fc05099d252f59.zip |
add drag-and-drop /upload/ route
Diffstat (limited to 'config/hex-zero.conf.example')
-rw-r--r-- | config/hex-zero.conf.example | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/config/hex-zero.conf.example b/config/hex-zero.conf.example index 3b62410..9b5d165 100644 --- a/config/hex-zero.conf.example +++ b/config/hex-zero.conf.example @@ -26,11 +26,13 @@ FHOST_MIME_BLACKLIST = [ ] # template for front page of app -FHOST_FRONTPAGE = "/var/www/hex-zero/front.html.in" +FRONTPAGE = "/var/www/hex-zero/front.html.in" +DRAG_AND_DROP_PAGE = "/var/www/hex-zero/dd-upload.html.in" -ADMIN_EMAIL = "root@d2-03a" +ADMIN_EMAIL = "webmaster@example.com" # with this, as well as use this for printing the base url of the app -APP_URL = "http://d2-03a/hex-zero" +APP_URL = "https://upload.example.com/hex-zero" +APP_PATH = "/hex-zero" # use the forwarded IP address header instead of the requester IP address USE_HTTP_X_FORWARDED_FOR = True # If you want to expose this app directly on 0.0.0.0 that is dangerous, but up to you. |