TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: A HTTP2 web server with auto SSL certificate, Zero-Configuration

16 pointsby txthinkingabout 5 years ago

1 comment

txthinkingabout 5 years ago
# Nico<p>A HTTP2 web server for reverse proxy and single page application, automatically apply for ssl certificate, zero-configuration.<p>### Install via [nami](<a href="https:&#x2F;&#x2F;github.com&#x2F;txthinking&#x2F;nami" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;txthinking&#x2F;nami</a>)<p>``` $ nami install github.com&#x2F;txthinking&#x2F;nico ```<p>### Reverse proxy<p>&gt; Make sure your domains are already resolved to your server IP and open 80&#x2F;443 port<p>``` $ nico &#x27;domain.com <a href="http:&#x2F;&#x2F;127.0.0.1:2020&#x27;" rel="nofollow">http:&#x2F;&#x2F;127.0.0.1:2020&#x27;</a> ```<p>### Static server, can be used for single page application<p>``` $ nico &#x27;domain.com &#x2F;path&#x2F;to&#x2F;web&#x2F;root&#x27; ```<p>### All can be in one line command<p>``` $ nico &#x27;domain1.com <a href="http:&#x2F;&#x2F;127.0.0.1:2020&#x27;" rel="nofollow">http:&#x2F;&#x2F;127.0.0.1:2020&#x27;</a> &#x27;domain2.com &#x2F;path&#x2F;to&#x2F;web&#x2F;root&#x27; &#x27;domain3.com <a href="http:&#x2F;&#x2F;127.0.0.1:3030&#x27;" rel="nofollow">http:&#x2F;&#x2F;127.0.0.1:3030&#x27;</a> ```<p>### Daemon<p>You may like [joker](<a href="https:&#x2F;&#x2F;github.com&#x2F;txthinking&#x2F;joker" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;txthinking&#x2F;joker</a>)<p>## Why<p>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.<p>## License<p>Licensed under The GPLv3 License