Skip to content

Instantly share code, notes, and snippets.

@IanSimpson
Last active July 19, 2016 00:17
Show Gist options
  • Save IanSimpson/4f418f78df11033ac1442dc900ae938d to your computer and use it in GitHub Desktop.
Save IanSimpson/4f418f78df11033ac1442dc900ae938d to your computer and use it in GitHub Desktop.
httpoxy fix for Apache (Ubuntu + others)
#!/bin/bash
echo "RequestHeader unset Proxy early" | sudo dd of=/etc/apache2/conf-available/httpoxy.conf
sudo a2enconf httpoxy
sudo service apache2 reload
@zerkms
Copy link

zerkms commented Jul 19, 2016

Also sudo a2enmod headers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment