Skip to content

Instantly share code, notes, and snippets.

View supernovae's full-sized avatar

Byron Miller supernovae

View GitHub Profile
add this right above the first / location
set_real_ip_from 103.21.244.0/22;
set_real_ip_from 103.22.200.0/22;
set_real_ip_from 103.31.4.0/22;
set_real_ip_from 104.16.0.0/12;
set_real_ip_from 104.24.0.0/14;
set_real_ip_from 108.162.192.0/18;
set_real_ip_from 131.0.72.0/22;
set_real_ip_from 141.101.64.0/18;
strace -e open ruby -raugeas -etrue 2>&1 | grep augeas.rb
open("/usr/local/lib/ruby/site_ruby/1.9.1/augeas.rb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/ruby/site_ruby/1.9.1/x86_64-linux/augeas.rb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/ruby/site_ruby/augeas.rb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/ruby/vendor_ruby/1.9.1/augeas.rb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/ruby/vendor_ruby/1.9.1/x86_64-linux/augeas.rb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/ruby/vendor_ruby/augeas.rb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/ruby/1.9.1/augeas.rb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/ruby/1.9.1/x86_64-linux/augeas.rb", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/ruby/gems/1.9.1/gems/augeas-0.6.3/lib/augeas.rb", O_RDONLY) = 5