Tag Info

New answers tagged


This is a reverse-proxy and the directive you are looking for is proxy_pass. The host instance of nginx will have multiple server containers like: server { listen 80; server_name d1.example.com; location / { proxy_pass; proxy_set_header Host $host; proxy_set_header X-Forwarded-For ...


There is a comment module for iptables which should do what you need. When adding a rule, one can add a comment like this: iptables -A INPUT -p icmp -j ACCEPT -m comment --comment "Allow incoming ICMP"


tl;dr cat /sys/fs/cgroup/memory$(cat /proc/self/cgroup | grep memory | cut -d: -f3)/memory.limit_in_bytes or cat $(mount | grep cgroup | grep memory | cut -d' ' -f3)$(cat /proc/self/cgroup | grep memory | cut -d: -f3)/memory.limit_in_bytes If your default container configuration allows host's cgroup info from within container (based on lxc.mount.auto ...


As of 2015/09/30 a change resulting from a security patch breaks mounting to an absolute path with lxc.mount.entry in the config file. Instead you can use a relative path lxc.mount.entry = /mnt/ssd/solr_data data none bind 0 0 See: https://wiki.debian.org/LXC#Bind_mounts_inside_the_container I would have added this as a comment but I don't yet have the ...

Top 50 recent answers are included