X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=nginx%2Fnginx.conf;h=d168aa1024165198bf46358f70803948c6288d05;hb=b5673d092bcae39b5315532b1e034dbf02a8c294;hp=1d3f29d051792fccf32bb5867ecf2e8392a35d76;hpb=43dec1560d59d84cbc5d9290549ac987f1c285ce;p=osm%2FNG-UI.git diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 1d3f29d..d168aa1 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -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; }