Skip to content

Commit

Permalink
fix: nginx proxy_pass를 고정된 url로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yjoonjang committed Mar 31, 2024
1 parent b36cc71 commit b76a5c5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@ server {

listen 80;

set $backend http://resumai;
# set $backend http://resumai;

location / {
resolver 127.0.0.1 [::1]:5353 valid=15s;
proxy_pass $backend;
# resolver 127.0.0.1 [::1]:5353 valid=15s;
# proxy_pass $backend;
proxy_pass http://resumai;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
# proxy_redirect off;

proxy_connect_timeout 300s;
proxy_send_timeout 300s;
Expand Down

0 comments on commit b76a5c5

Please sign in to comment.