diff --git a/nginx/default.conf b/nginx/default.conf index 67b4255..0476251 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -156,12 +156,6 @@ text/javascript application/javascript text/html; return 403; } - location /pgtileserv/ { - proxy_pass http://mapas/; - proxy_set_header Host $host; - proxy_set_header X-Forwarded-For $remote_addr; - } - location /.nginx { autoindex on; alias /var/www/html/${DEPLOY_HOST}; @@ -206,4 +200,9 @@ text/javascript application/javascript text/html; } + location /pgtileserv/ { + proxy_pass http://mapas/; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $remote_addr; + } }