Skip to content

Commit

Permalink
fix: default.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefanie-A committed Oct 28, 2024
1 parent 4d41e10 commit 00413cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
cd python-uri-shortener
echo "Welcome!"
git pull origin main
docker system prune -a
docker pull nginx:latest
docker login -u stefnie -p ${{ secrets.docker_hub_token }}
docker pull stefnie/api-image:latest
Expand Down
2 changes: 1 addition & 1 deletion nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ server {
listen 80;
server_name 52.23.155.226;
location / {
proxy_pass http://backend:8080;
proxy_pass http://localhost:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Expand Down

0 comments on commit 00413cb

Please sign in to comment.