Skip to content

Commit

Permalink
chore: Update Nginx proxy_pass to use Docker service name
Browse files Browse the repository at this point in the history
  • Loading branch information
유미라 authored and 유미라 committed Nov 27, 2024
1 parent a1075ff commit e2bd760
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ server {
}

location /api {
proxy_pass http://api:3000;
proxy_pass http://troublepainter_api:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
Expand All @@ -21,7 +21,7 @@ server {
}

location /socket.io {
proxy_pass http://api:3000;
proxy_pass http://troublepainter_api:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
Expand Down

0 comments on commit e2bd760

Please sign in to comment.