Skip to content

Commit cedbe91

Browse files
committed
f
1 parent 58c59fa commit cedbe91

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

nginx-reverse.conf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ server {
2424
}
2525

2626
# Forward elevation API to external service
27-
location ~ ^/elevation-api/v1/(.*)$ {
28-
proxy_pass https://api.opentopodata.org/$1$is_args$args;
27+
location /elevation-api/ {
28+
proxy_pass https://api.opentopodata.org/;
29+
proxy_ssl_server_name on;
2930
proxy_set_header Host api.opentopodata.org;
3031
proxy_set_header X-Real-IP $remote_addr;
3132
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

0 commit comments

Comments
 (0)