Add paragraph about running behind a proxy (#50, #85)

This commit is contained in:
Petr Sloup 2016-12-20 14:41:22 +01:00
parent 19dcd52cc8
commit 78fcb893f7

View File

@ -13,3 +13,8 @@ Securing
========
Nginx can be used to add protection via https, password, referrer, IP address restriction, access keys, etc.
Running behind a proxy or a load-balancer
=========================================
If you need to run TileServer GL behind a proxy, make sure the proxy sends ``X-Forwarded-*`` headers to the server (most importantly ``X-Forwarded-Host`` and ``X-Forwaded-Proto``) to ensures the URLs generated inside TileJSON etc. are using the desired domain and protocol.