Skip to content

Instantly share code, notes, and snippets.

@t-chab
t-chab / before.rules
Created November 13, 2014 18:21
ufw rule to add at the end of /etc/ufw/before.rules on Debian to allow LXC bridged interfaces to work (before COMMIT)
# Allow traffic on bridged interface
-I FORWARD -m physdev --physdev-is-bridged -j ACCEPT
@t-chab
t-chab / .fonts.conf
Created November 11, 2014 13:14
Nice fonts for Firefox with KDE
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="rgba">
<const>none</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
@t-chab
t-chab / httpd.conf
Last active May 4, 2016 13:25
Apache forward proxy sample config. TODO : https support
ServerRoot "/path/to/server/root"
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule headers_module modules/mod_headers.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule ssl_module modules/mod_ssl.so