Fix reverse proxy Thanks @ralphbean