fixed reverse proxies
fixed rubocop