mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2026-02-04 03:30:26 +01:00
Merge branch 'adrien' of github.com:AudebertAdrien/ft_transcendence into trash
This commit is contained in:
commit
ce97afabc0
@ -21,6 +21,12 @@ server {
|
||||
# Proxy normal HTTP requests to Django
|
||||
location / {
|
||||
proxy_pass http://backend:8080/;
|
||||
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user