We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58c59fa commit cedbe91Copy full SHA for cedbe91
1 file changed
nginx-reverse.conf
@@ -24,8 +24,9 @@ server {
24
}
25
26
# Forward elevation API to external service
27
- location ~ ^/elevation-api/v1/(.*)$ {
28
- proxy_pass https://api.opentopodata.org/$1$is_args$args;
+ location /elevation-api/ {
+ proxy_pass https://api.opentopodata.org/;
29
+ proxy_ssl_server_name on;
30
proxy_set_header Host api.opentopodata.org;
31
proxy_set_header X-Real-IP $remote_addr;
32
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
0 commit comments