| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /opt/cpanel/ea-ruby24/src/passenger-release-6.0.20/dev/vagrant/ |
Upload File : |
ENV['CC'] ||= 'ccache cc'
ENV['CXX'] ||= 'ccache c++'
desc "Bootstrap Nginx for the first time"
task :bootstrap => :configure do
sh "make -j2"
sh "make install"
sh "rm -f inst/sbin/nginx"
puts
puts "--------------------------"
puts "You're all set! You can start Nginx by running:"
puts
puts " ./start"
puts
puts "Nginx can be reached from the host machine on http://127.0.0.1:8100/"
puts
puts "You never have to run `rake bootstrap` again. You also never have to " +
"run `make install`. If you've made changes to the Passenger Nginx module, " +
"simply run `make && ./start` in /home/vagrant/nginx. The `start` script " +
"will start the newly compiled Nginx binary directly."
end
desc "Configure Nginx source tree"
task :configure do
sh "./configure --prefix=/home/vagrant/nginx/inst" +
" --add-module=/vagrant/src/nginx_module" +
" --with-http_ssl_module" +
" --with-http_gzip_static_module" +
" --with-http_stub_status_module" +
" --with-http_v2_module" +
" --with-debug"
sh "sed", "-E", "-i", 's/ -O[0-9]? / -ggdb /g', "objs/Makefile"
end