Skip to content

Commit

Permalink
Merge pull request #37 from resum-ai/feat/login
Browse files Browse the repository at this point in the history
fix: nginx 원상 복구
  • Loading branch information
yjoonjang authored Mar 27, 2024
2 parents 8f023a1 + f8028df commit 657ca71
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions config/nginx/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,28 +1,21 @@
# upstream resumai {
# server web:8000;
# }


upstream resumai {
server web:8000;
}

server {

listen 80;

location / {
resolver 10.0.0.2 valid=10s;
# set $target "http://api.resumai.kr";
# proxy_pass $target;
set $elb_dns resumai-lb-1519038453.ap-northeast-2.elb.amazonaws.com;
proxy_pass $elb_dns

proxy_pass http://resumai;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;

# proxy_connect_timeout 300s;
# proxy_send_timeout 300s;
# proxy_read_timeout 300s;
# send_timeout 300s;
proxy_connect_timeout 300s;
proxy_send_timeout 300s;
proxy_read_timeout 300s;
send_timeout 300s;
}

location /static/ {
Expand Down

0 comments on commit 657ca71

Please sign in to comment.