summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorMia Herkt <mia@0x0.st>2021-01-01 23:08:17 +0100
committerMia Herkt <mia@0x0.st>2021-05-23 19:13:51 +0200
commit47ff3a11527c13732bcf18cbe0eca4d2037f3891 (patch)
tree64e444393dbaf65e1b395b31c7ebf31a9fa89307 /README.rst
parentb65209db7bd63084af3f85dbcd336fe62bf14d2c (diff)
Support instance templates
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index ecaf829..8b6cab5 100644
--- a/README.rst
+++ b/README.rst
@@ -10,6 +10,9 @@ Configuration
To change settings, modify ``instance/config.py``. For more information on
instance configuration, see `the Flask documentation <https://flask.palletsprojects.com/en/2.0.x/config/#instance-folders>`_.
+To customize the home and error pages, simply create a ``templates`` directory
+in your instance directory and copy any templates you want to modify there.
+
If you are running nginx, you should use the ``X-Accel-Redirect`` header.
To make it work, include this in your nginx config’s ``server`` block::