Skip to content
Snippets Groups Projects
Commit 615baa20 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

add proxy headers

parent 8bbfab3f
No related branches found
No related tags found
No related merge requests found
Pipeline #9604 passed
......@@ -27,6 +27,9 @@ server {
proxy_cache TileserverCache;
proxy_cache_valid 200 1d;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# Set our custom CORS
#add_header 'Access-Control-Allow-Origin' $allow_origin;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment