Skip to content

Commit

Permalink
test: upstream을 지정하지 않는 경우 test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangwook02 committed Jan 17, 2024
1 parent ba074d6 commit d7360df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ events {
}

http {
upstream deploy_container {
server localhost:8080;
}
# upstream deploy_container {
# server localhost:8080;
# }

server{
listen 80;

location / {
proxy_pass http://deploy_container/test;
proxy_pass http://localhost:8080/test;
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 d7360df

Please sign in to comment.