
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
grunt-nginx
Advanced tools
Grunt task for Nginx to start, stop and restart a server.
Install the plugin with this command:
npm install grunt-nginx --save-dev
Then add this line to your project's Gruntfile.js
gruntfile:
grunt.loadNpmTasks('grunt-nginx');
Inside your Gruntfile.js
file add a section called nginx
. This section specifies the nginx
task and any options you want to pass to it.
grunt-nginx uses colon-separated arguments for the nginx
tasks:
These are all self-explanatory.
string
Specify which configuration file Nginx should use instead of the default.
string
Sets the prefix path (default: /usr/local/nginx/). Any references in the config file will be relative to this path.
string
Sets global directives. Further Information can be found here.
string
Don't run, just test the configuration file. Nginx checks configuration for correct syntax and then try to open files referred in configuration.
nginx: {
options: {
config: '/home/alex/nginx.conf',
prefix: '/home/alex/nginx'
globals: ['pid /var/run/nginx.pid', 'worker_processes 2']
}
}
grunt.registerTask("default", "nginx:start");
FAQs
Grunt task for Nginx to start, stop and restart a server.
The npm package grunt-nginx receives a total of 219 weekly downloads. As such, grunt-nginx popularity was classified as not popular.
We found that grunt-nginx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.