FIX: backups not using x accl redirect

This commit is contained in:
Sam 2014-09-24 16:51:14 +10:00
parent a0b0398467
commit dc8eb6d737
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ server {
break; break;
} }
location ~ ^/backups/ { location ~ ^/admin/backups/ {
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;