Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/txthinking/nico
A HTTP3 web server for reverse proxy and single page application, automatically apply for ssl certificate, Zero-Configuration.
https://github.com/txthinking/nico
certificate http-server http2 http2-server reverse-proxy spa ssl tls webserver
Last synced: 3 months ago
JSON representation
A HTTP3 web server for reverse proxy and single page application, automatically apply for ssl certificate, Zero-Configuration.
- Host: GitHub
- URL: https://github.com/txthinking/nico
- Owner: txthinking
- License: gpl-3.0
- Created: 2020-05-23T14:55:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-23T02:51:54.000Z (10 months ago)
- Last Synced: 2024-08-01T13:30:05.729Z (6 months ago)
- Topics: certificate, http-server, http2, http2-server, reverse-proxy, spa, ssl, tls, webserver
- Language: Go
- Homepage:
- Size: 120 KB
- Stars: 113
- Watchers: 8
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
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](https://www.txthinking.com)
### Install via [nami](https://github.com/txthinking/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](https://github.com/txthinking/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