Added server name and forwarded protocol to nginx configuration