Skip to content

Commit

Permalink
Remove unused ui apis
Browse files Browse the repository at this point in the history
  • Loading branch information
optionsome committed Sep 30, 2024
1 parent 81d614a commit cbf93c7
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions common.conf
Original file line number Diff line number Diff line change
Expand Up @@ -468,42 +468,6 @@ location /routing-data/v3/finland {
include cors.conf;
}

location /ui/v1/finland/ {
rewrite /ui/v1/finland/(.*) /$1 break;
proxy_pass http://digitransit-ui-matka-v2:8080;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header X-Forwarded-Host $host;
}

location /ui/v1/hsl-next/ {
rewrite /ui/v1/hsl-next/(.*) /$1 break;
proxy_pass http://digitransit-ui-hsl-v2:8080;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header X-Forwarded-Host $host;
}

location /ui/v1/waltti-next/ {
rewrite /ui/v1/waltti-next/(.*) /$1 break;
proxy_pass http://digitransit-ui-waltti-v2:8080;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header X-Forwarded-Host $host;
}

location /ui/v2/matka/ {
rewrite /ui/v2/matka/(.*) /$1 break;
proxy_pass http://digitransit-ui-matka-v2:8080;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header X-Forwarded-Host $host;
}

location /ui/v2/hsl/ {
rewrite /ui/v2/hsl/(.*) /$1 break;
proxy_pass http://digitransit-ui-hsl-v2:8080;
Expand All @@ -522,15 +486,6 @@ location /ui/v2-test/hsl/ {
# proxy_set_header X-Forwarded-Host $host;
}

location /ui/v2/waltti/ {
rewrite /ui/v2/waltti/(.*) /$1 break;
proxy_pass http://digitransit-ui-waltti-v2:8080;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header X-Forwarded-Host $host;
}

location /ui/v3/matka/ {
rewrite /ui/v3/matka/(.*) /$1 break;
proxy_pass http://digitransit-ui-matka-v3:8080;
Expand Down

0 comments on commit cbf93c7

Please sign in to comment.