Skip to content

Instantly share code, notes, and snippets.

@michaldarda
Created May 29, 2015 09:46
Show Gist options
  • Save michaldarda/17d989f1793c8a2ee2f0 to your computer and use it in GitHub Desktop.
Save michaldarda/17d989f1793c8a2ee2f0 to your computer and use it in GitHub Desktop.
Give binary permissions to bind socket less than 1024 as non-root user
sudo setcap cap_net_bind_service=ep /opt/nginx/sbin/nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment