Skip to content

Commit

Permalink
Create default.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
fatimajamali81 authored Jul 23, 2024
1 parent a1b1ab6 commit ca7411c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions nginx/default.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
server {
listen 80;

location / {
proxy_pass http://web:5000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}

0 comments on commit ca7411c

Please sign in to comment.