Skip to content

Commit

Permalink
Modified nginx conf to work with local development
Browse files Browse the repository at this point in the history
  • Loading branch information
Fa8Bit committed Jun 15, 2024
1 parent 7bb511e commit 7bca4d0
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .nginx/compose/nginx-dev.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,16 @@ server {

location /minigames/towercrush/api/ {
proxy_pass http://towercrush-backend/api/;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
#proxy_set_header Upgrade $http_upgrade;
#proxy_set_header Connection "Upgrade";
}

location /overworld/ {
proxy_pass http://overworld/;
}

location /minigames/towercrush/ {
proxy_pass http://towercrush/;
}

location /towercrush/ {
proxy_pass http://host.docker.internal:8000/;
proxy_pass http://host.docker.internal:8000/minigames/towercrush/;
}

location /lecturer-interface/ {
Expand Down

0 comments on commit 7bca4d0

Please sign in to comment.