refactor(pm/copyparty): remove useless header-hide #121

closed
opened by a.starrysky.fyi targeting main from private/minion/push-oqywmpqruopz

In the copyparty code, we previously hid a header before overriding it.

Hiding a header hides it from the client when the server sends it. There's no point to it here. It isn't actively harmful, since as we set the header after anyway, but it's also not required and could be confusing.

Changed files
-1
packetmix
systems
-1
packetmix/systems/teal/copyparty.nix
··· 177 177 proxyWebsockets = true; 178 178 179 179 extraConfig = '' 180 - proxy_hide_header X-Webauth-Login; 181 180 proxy_set_header X-Webauth-Login $preferred_username; 182 181 183 182 proxy_intercept_errors on;