# Proxy configuration for nginx map $http_x_forwarded_proto $origin_proto { default $http_x_forwarded_proto; "" $scheme; }