11
docs/faq.rst
11
docs/faq.rst
@ -4,9 +4,14 @@ Frequently Asked Questions
|
||||
Common Problems
|
||||
---------------
|
||||
|
||||
In my startup logs I see *'Aborting... Lemur cannot locate db encryption key, is ENCRYPTION_KEY set?'*
|
||||
You likely have not correctly configured **ENCRYPTION_KEY**. See
|
||||
:doc:`administration/configuration` for more information.
|
||||
In my startup logs I see *'Aborting... Lemur cannot locate db encryption key, is LEMUR_ENCRYPTION_KEY set?'*
|
||||
You likely have not correctly configured **LEMUR_ENCRYPTION_KEY**. See
|
||||
:doc:`administration/index` for more information.
|
||||
|
||||
|
||||
I am seeing Lemur's javascript load in my browser but not the CSS.
|
||||
Ensure that you are placing *include mime.types;* to your Nginx static file location. See
|
||||
:doc:`production/index` for example configurations.
|
||||
|
||||
|
||||
How do I
|
||||
|
@ -106,7 +106,12 @@ You can make some adjustments to get a better user experience::
|
||||
}
|
||||
|
||||
location / {
|
||||
<<<<<<< HEAD
|
||||
root /apps/lemur/lemur/static/dist;
|
||||
=======
|
||||
root /www/lemur/lemur/static/dist;
|
||||
include mime.types;
|
||||
>>>>>>> b978435... Merge pull request #21 from kevgliss/buildfixes
|
||||
index index.html;
|
||||
}
|
||||
|
||||
@ -171,7 +176,12 @@ sensitive nature of Lemur and what it controls makes this essential. This is a s
|
||||
}
|
||||
|
||||
location / {
|
||||
<<<<<<< HEAD
|
||||
root /apps/lemur/lemur/static/dist;
|
||||
=======
|
||||
root /www/lemur/lemur/static/dist;
|
||||
include mime.types;
|
||||
>>>>>>> b978435... Merge pull request #21 from kevgliss/buildfixes
|
||||
index index.html;
|
||||
}
|
||||
|
||||
@ -204,6 +214,9 @@ An example apache config::
|
||||
Also included in the configurations above are several best practices when it comes to deploying SSL. Things like enabling
|
||||
HSTS, disabling vulnerable ciphers are all good ideas when it comes to deploying Lemur into a production environment.
|
||||
|
||||
.. note::
|
||||
This is a rather incomplete apache config for running Lemur (needs mod_wsgi etc.,), if you have a working apache config please let us know!
|
||||
|
||||
.. seealso::
|
||||
`Mozilla SSL Configuration Generator <https://mozilla.github.io/server-side-tls/ssl-config-generator/>`_
|
||||
|
||||
|
@ -148,6 +148,7 @@ Proxying with Nginx
|
||||
You'll use the builtin HttpProxyModule within Nginx to handle proxying::
|
||||
|
||||
location / {
|
||||
<<<<<<< HEAD
|
||||
proxy_pass http://localhost:5000;
|
||||
proxy_redirect off;
|
||||
|
||||
@ -155,6 +156,11 @@ You'll use the builtin HttpProxyModule within Nginx to handle proxying::
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
=======
|
||||
root /www/lemur/lemur/static/dist;
|
||||
include mime.types;
|
||||
index index.html;
|
||||
>>>>>>> b978435... Merge pull request #21 from kevgliss/buildfixes
|
||||
}
|
||||
|
||||
See :doc:`../production/index` for more details on using Nginx.
|
||||
|
Reference in New Issue
Block a user