nico

command module
v0.0.0-...-3bb1aaf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2024 License: GPL-3.0 Imports: 27 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Nico

A HTTP3 web server for reverse proxy and single page application, automatically apply for ssl certificate, zero-configuration.

❤️ A project by txthinking.com

Install via nami
$ nami install nico
Static server, can be used for single page application

Make sure your domains are already resolved to your server IP and open 80/443 port

$ nico domain.com /path/to/web/root
Reverse proxy
$ nico domain.com http://127.0.0.1:2020
Reverse proxy https website
$ nico domain.com https://reactjs.org
Dispatch according to path
  • Exact match: domain.com/ws
  • Prefix match: when / is suffix, domain.com/api/. A special one: domain.com/ is exact match
  • Default match: domain.com
$ nico domain.com /path/to/web/root domain.com/ws http://127.0.0.1:9999 domain.com/api/ http://127.0.0.1:2020
Multiple domains
$ nico domain0.com /path/to/web/root domain1.com /another/web/root domain1.com/ws http://127.0.0.1:9999 domain1.com/api/ http://127.0.0.1:2020
Daemon

You may like joker

Why

Nico is a simple HTTP3 web server, but she is enough in most cases. If you want to use rewrite, load balancing, you need to consider nginx or others.

License

Licensed under The GPLv3 License

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址