Skip to content

Commit

Permalink
add routing for beatmaps-service
Browse files Browse the repository at this point in the history
  • Loading branch information
tsunyoku committed May 26, 2024
1 parent 22c0ac5 commit 2c6860e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sites-enabled/beatmaps.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
server {
listen 80;
server_name beatmaps.akatsuki.gg;

location / {
proxy_set_header X-Real-IP $http_CF_Connecting_IP;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;

proxy_pass http://beatmaps_service;
}
}
4 changes: 4 additions & 0 deletions sites-enabled/upstreams.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ upstream profile_history_service {
server profile-history-service-api-production.default.svc.cluster.local;
}

upstream beatmaps_service {
server beatmaps-service-api-production.default.svc.cluster.local;
}

upstream vault {
server 127.0.0.1:8200;
}
Expand Down

0 comments on commit 2c6860e

Please sign in to comment.