diff options
author | B Stack <bgstack15@gmail.com> | 2022-02-15 15:12:32 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2022-02-15 15:12:32 -0500 |
commit | 0556ebe21c3143be2a3e32c4f49e127044bdd47c (patch) | |
tree | 6c7074e9b02b3aac380e74569da2d041f24700cb /stackbin.wsgi.ini.example | |
parent | shore up docs (diff) | |
download | stackbin-0556ebe21c3143be2a3e32c4f49e127044bdd47c.tar.gz stackbin-0556ebe21c3143be2a3e32c4f49e127044bdd47c.tar.bz2 stackbin-0556ebe21c3143be2a3e32c4f49e127044bdd47c.zip |
pw-protect /admin endpoint
Use a hardcoded password from the config file.
Diffstat (limited to 'stackbin.wsgi.ini.example')
-rw-r--r-- | stackbin.wsgi.ini.example | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/stackbin.wsgi.ini.example b/stackbin.wsgi.ini.example index bb30c20..d4cb995 100644 --- a/stackbin.wsgi.ini.example +++ b/stackbin.wsgi.ini.example @@ -9,7 +9,12 @@ callable = app touch-reload = /usr/libexec/stackbin/stackbin.py touch-reload = /etc/stackbin.conf touch-reload = /etc/stackbin.wsgi.ini -# the template files are not necessary, because flask always loads it from disk for each request +touch-reload = /usr/share/stackbin/templates/admin.html +touch-reload = /usr/share/stackbin/templates/layout.html +touch-reload = /usr/share/stackbin/templates/login_form.html +touch-reload = /usr/share/stackbin/templates/new_paste.html +touch-reload = /usr/share/stackbin/templates/_pagination.html +touch-reload = /usr/share/stackbin/templates/show_paste.html req-logger = file:/var/log/stackbin/req.log # to get strftime format fields, you need double percent signs logdate = "%%FT%%T" |