feat(DevOps): add nginx reverse proxy

This commit is contained in:
patryk20120 2024-05-15 22:12:34 +02:00
parent 180e204c2d
commit 5b98be1644
No known key found for this signature in database
6 changed files with 92 additions and 8 deletions

8
nginx/proxy.conf Normal file
View file

@ -0,0 +1,8 @@
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_buffering off;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;