Skip to content

txthinking/nico

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Nico

中文

🗣 News 💬 Chat 🩸 Youtube

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/
Default match: domain.com
A special one: domain.com/ is exact match

$ 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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published