
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
quick nginx server blocks in one command
Current version:
up v.0.2.5 (Alpha)
Notes:
up
is now in Alpha! 🎉 (Changelog)
⚠️up
is pretty useable so far. If you're testingup
on a development server, do give us feedback.
up
is a command line application that creates nginx server blocks quickly with a single command.
up
currently supports nginx mainline and nginx stable on Linux based distros. Support for more distros will come soon. Add an issue to bump this process.
You will need to have node JS and nginx installed.
Install up
from npm:
npm i -g up-serve
up
is now available as a command.
Format: up command <required> [optional]
up serve <domain> [outbound port]
- Create new static server at current folder.
up static
is deprecated from v. 0.2.5
(see changelog)up proxy <domain> <inbound port> [outbound port]
- Create new proxy server listening at said port.up list
- List currently available servers.up kill <domain>
- Kill the server for this domain.up static example.com
will serve a static website from current folder.up proxy example.com 8081
will create a reverse proxy listening at port 8081.up kill example.com
will kill the server named example.com.up list
will fetch a list of servers created with up
.const up = require('up-serve')
console.log(up.version()) // up v. 0.2.5
let result = up.server("example.com", "path/to/project", "80")
console.log(result) // Will log success or throw if error
let result = up.kill("example.com", "80")
console.log(result) // Will log success or throw if error
More detailed API documentation coming soon.
FAQs
A cli tool to quickly create and manage nginx server blocks.
The npm package up-serve receives a total of 6 weekly downloads. As such, up-serve popularity was classified as not popular.
We found that up-serve 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.