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;
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;
}