Include X-Real-IP

This commit is contained in:
decentral1se 2021-05-06 20:21:36 +02:00
parent bcef57ef03
commit 486da6d76f
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ server {
location @api {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
client_max_body_size 100k; # default is 1M