diff --git a/deployment/nginx/includes/canvas.conf b/deployment/nginx/includes/canvas.conf index 9b3e040d..b82dd12d 100644 --- a/deployment/nginx/includes/canvas.conf +++ b/deployment/nginx/includes/canvas.conf @@ -29,6 +29,8 @@ location = / { if ( $query_string ) { return 403; } limit_req zone=captcha burst=5; proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-Proto $http_x_forwarded_proto; + proxy_set_header X-Forwarded-Host $host; proxy_pass http://$ppfun$request_uri; }