Skip to content

Commit

Permalink
update nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
gardenerik committed Aug 19, 2024
1 parent fa37079 commit 2a23c1a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
upstream testovac {
server web:8000;
server 127.0.0.1:8000;
}

server {

listen 80;

location / {
proxy_pass http://testovac;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
# proxy_read_timeout 300s;
# proxy_connect_timeout 75s;
}

location /static/ {
Expand All @@ -32,5 +29,4 @@ server {
internal;
alias /home/app/web/statements/;
}

}
}

0 comments on commit 2a23c1a

Please sign in to comment.