---
title: Install Hello nginx on Linux | Snap Store
description: Get the latest version of Hello nginx for Linux - Zero-config nginx web
  server for developers, listening on port 8080
url: https://snapcraft.io/hello-nginx
---

# Hello nginx

[Carlos Bravo (carlos-bravo)](https://snapcraft.io/publisher/carlos-bravo "View all snaps from Carlos Bravo (carlos-bravo)")

* [Carlos Bravo (carlos-bravo)](https://snapcraft.io/publisher/carlos-bravo "View all snaps from Carlos Bravo (carlos-bravo)")
* [Development](https://snapcraft.io/search?categories=development)

latest/edge 2.1.0

Install latest/edge of Hello nginx

---

**Install using the command line**

```
sudo snap install hello-nginx --edge
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

Hello nginx is only available on the unstable edge channel. It could break and change often.

---

### Package name

* hello-nginx

---

### License

* BSD-2-Clause

---

### Last updated

* Today - latest/edge

---

### Websites

* [github.com/carlosbravoa/hello-nginx](https://github.com/carlosbravoa/hello-nginx "https://github.com/carlosbravoa/hello-nginx")

---

### Contact

* [github.com/carlosbravoa/hello-nginx/issues](https://github.com/carlosbravoa/hello-nginx/issues "https://github.com/carlosbravoa/hello-nginx/issues")

---

### Source code

* [github.com/carlosbravoa/hello-nginx](https://github.com/carlosbravoa/hello-nginx "https://github.com/carlosbravoa/hello-nginx")

---

### Report a bug

* [github.com/carlosbravoa/hello-nginx/issues](https://github.com/carlosbravoa/hello-nginx/issues "https://github.com/carlosbravoa/hello-nginx/issues")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/hello-nginx#report-snap-modal)

---

* [Description](https://snapcraft.io/hello-nginx#tab-description)
* [Security](https://snapcraft.io/hello-nginx#tab-security)

#### Zero-config nginx web server for developers, listening on port 8080

A static web server in a strictly confined snap. Install it and nginx serves a page on port 8080 right away. Then choose how to serve your own site.

**Serve a git repository (no build needed)**

Point the snap at a public repository with your static files. It fetches the latest commit and serves it. It can also follow the branch as you push, and roll back with one command:

```
   sudo hello-nginx deploy https://github.com/me/my-site.git
   sudo hello-nginx deploy https://github.com/me/my-site.git --path public
   sudo hello-nginx auto-update 15m
   sudo hello-nginx rollback
```

Branches can serve as environments: staging servers follow one branch, production servers another.

**Or ship your site as its own snap**

hello-nginx is also a template. Build your website into a snap of your own, and the content is versioned with the server. Go to the project repository (open source, MIT license) and use it as a template for your own site. The benefits of a website inside a snap:

* **Portability** Can tun in many Ubuntu versions without dependency and version issues.
* **Security** It runs in full confinement!
* **Updates are all-or-nothing.** `snap refresh` swaps the site and nginx together, so nobody sees a half-copied site.
* **Rollback is one command.** `snap revert my-site` brings back the previous site.
* **Channels become environments.** For example, `edge` can be staging and `stable` production, with `snapcraft release` as the promotion step.
* **cloud-init becomes trivial.** It's just `snap install my-site`, with no setup steps after it.

Source, template and documentation: <https://github.com/carlosbravoa/hello-nginx>

**Manage the server**

```
   sudo hello-nginx port 80
   sudo hello-nginx restart
   hello-nginx status
   sudo hello-nginx logs -f
```

Settings also work with `snap set`, which suits automation and cloud-init:

```
   sudo snap set hello-nginx port=80 git.repo=https://github.com/me/my-site.git
```

---

## Install Hello nginx on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/hello-nginx/arch)

[### CentOS](https://snapcraft.io/install/hello-nginx/centos)

[### Debian](https://snapcraft.io/install/hello-nginx/debian)

[### elementary OS](https://snapcraft.io/install/hello-nginx/elementary)

[### Fedora](https://snapcraft.io/install/hello-nginx/fedora)

[### KDE Neon](https://snapcraft.io/install/hello-nginx/kde-neon)

[### Kubuntu](https://snapcraft.io/install/hello-nginx/kubuntu)

[### Manjaro](https://snapcraft.io/install/hello-nginx/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/hello-nginx/pop)

[### openSUSE](https://snapcraft.io/install/hello-nginx/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/hello-nginx/rhel)

[### Ubuntu](https://snapcraft.io/install/hello-nginx/ubuntu)
