Skip to content

Instantly share code, notes, and snippets.

@zubair1024
Last active April 21, 2020 16:55
Show Gist options
  • Select an option

  • Save zubair1024/b1082c84c15dd99b2e59a2853126e283 to your computer and use it in GitHub Desktop.

Select an option

Save zubair1024/b1082c84c15dd99b2e59a2853126e283 to your computer and use it in GitHub Desktop.
server {
listen 80;
listen [::]:80;
server_name <server-name>;
location /osm_tiles/ {
proxy_pass http://localhost:8080/tile/;
proxy_buffering off;
}
location / {
proxy_pass http://localhost:8080/;
proxy_buffering off;
}
location /osrm/ {
proxy_pass http://127.0.0.1:5000/;
proxy_buffering off;
}
location /nominatim/ {
proxy_pass http://127.0.0.1:7070/;
proxy_buffering off;
}
location /scheduler/ {
proxy_pass http://127.0.0.1:3050/;
proxy_buffering off;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment