X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=nginx%2Fnginx.conf;h=d168aa1024165198bf46358f70803948c6288d05;hb=c5f85e89a414c171a1d0d855d2f6b1b372da9937;hp=d68660367fdb03dad464ef26f9dc10da5f876a1c;hpb=3b4814aa2d3dec621dadb52f058ba95a3dc3a86a;p=osm%2FNG-UI.git diff --git a/nginx/nginx.conf b/nginx/nginx.conf index d686603..d168aa1 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -20,7 +20,7 @@ server { server_name localhost; root /usr/share/nginx/html; index index.html index.htm; - client_max_body_size 15M; + client_max_body_size 50M; location /osm { proxy_pass https://nbi:9999; @@ -28,6 +28,12 @@ server { proxy_set_header Accept-Encoding ""; } + location /api { + proxy_pass https://photon.komoot.de; + proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504; + proxy_set_header Accept-Encoding ""; + } + location / { try_files $uri $uri/ /index.html; }