mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
nginx: add more proxy headers
This commit is contained in:
parent
a824d72a1a
commit
03fc6e777c
1 changed files with 3 additions and 1 deletions
|
|
@ -24,8 +24,10 @@ server {
|
|||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $http_host;
|
||||
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;
|
||||
|
||||
root /opt/ditto/public;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue