Skip to content

Commit 1eef9a4

Browse files
authored
Add installation instructions for Ubuntu and Debian
Added installation instructions for Ubuntu and Debian packages.
1 parent 5f34cd8 commit 1eef9a4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,21 @@ Special `omit` value will disable sending the header by the module.
140140
We highly recommend installing using packages, where available,
141141
instead of compiling.
142142

143+
### Ubuntu and Debian packages
144+
145+
It's easy to install the module package for these operating systems.
146+
147+
`ngx_security headers` is part of the APT NGINX Extras collection, so you can install
148+
it alongside [any modules](https://apt-nginx-extras.getpagespeed.com/modules/),
149+
including Brotli.
150+
151+
First, [set up the repository](https://apt-nginx-extras.getpagespeed.com/apt-setup/), then:
152+
153+
```bash
154+
sudo apt-get update
155+
sudo apt-get install nginx-module-security-headers
156+
```
157+
143158
### CentOS/RHEL, Amazon Linux and Fedora packages
144159

145160
It's easy to install the module package for these operating systems.

0 commit comments

Comments
 (0)