Show HN: A HTTP2 web server with auto SSL certificate, Zero-Configuration(github.com)16 points·by txthinking·6년 전·1 commentsgithub.comShow HN: A HTTP2 web server with auto SSL certificate, Zero-Configurationhttps://github.com/txthinking/nico1 commentsPost comment[–]txthinking·6년 전reply# NicoA HTTP2 web server for reverse proxy and single page application, automatically apply for ssl certificate, zero-configuration.### Install via [nami](https://github.com/txthinking/nami)``` $ nami install github.com/txthinking/nico ```### Reverse proxy> Make sure your domains are already resolved to your server IP and open 80/443 port``` $ nico 'domain.com http://127.0.0.1:2020' ```### Static server, can be used for single page application``` $ nico 'domain.com /path/to/web/root' ```### All can be in one line command``` $ nico 'domain1.com http://127.0.0.1:2020' 'domain2.com /path/to/web/root' 'domain3.com http://127.0.0.1:3030' ```### DaemonYou may like [joker](https://github.com/txthinking/joker)## WhyNico is a simple HTTP2 web server, but she is enough in mose cases. If you want to use rewrite, load balancing, you need to consider nginx or others.## LicenseLicensed under The GPLv3 License
A HTTP2 web server for reverse proxy and single page application, automatically apply for ssl certificate, zero-configuration.
### Install via [nami](https://github.com/txthinking/nami)
``` $ nami install github.com/txthinking/nico ```
### Reverse proxy
> Make sure your domains are already resolved to your server IP and open 80/443 port
``` $ nico 'domain.com http://127.0.0.1:2020' ```
### Static server, can be used for single page application
``` $ nico 'domain.com /path/to/web/root' ```
### All can be in one line command
``` $ nico 'domain1.com http://127.0.0.1:2020' 'domain2.com /path/to/web/root' 'domain3.com http://127.0.0.1:3030' ```
### Daemon
You may like [joker](https://github.com/txthinking/joker)
## Why
Nico is a simple HTTP2 web server, but she is enough in mose cases. If you want to use rewrite, load balancing, you need to consider nginx or others.
## License
Licensed under The GPLv3 License