Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Mina tasks for handle with Nginx.
This gem provides several mina tasks:
mina nginx:install # Install template config to host repo for easy overrides
mina nginx:setup # Install config file to the server's shared dir + symlink
mina nginx:print # Parse & print the nginx config
mina nginx:reload # Reload Nginx
mina nginx:restart # Restart Nginx
mina nginx:start # Start Nginx
mina nginx:status # Status Nginx
mina nginx:stop # Stop Nginx
Add this line to your application's Gemfile, then bundle install
:
gem 'mina-nginx', :require => false
Once installed, add this to your config/deploy.rb
file:
require 'mina/nginx'
Install the base template to your repo's lib/mina/templates
directory:
$ bundle exec mina nginx:install
Consider variables used by the nginx config, particularly:
application
- application name; defaults to 'application'nginx_socket_path
- path to socket file used in nginx upstream directiveserver_name
- application's nginx server_name (e.g. example.com); defaults to value for domain
domain
- fqdn you are deploying todeploy_to
- deployment pathcurrent_path
- current revision pathEdit installed template as required.
nginx:setup
in your main setup
tasknginx:setup
(or base setup
) to install config changesn.b. if the config template has not been installed locally, mina-nginx
will
fall back to the default template gracefully.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that mina-nginx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.