Skip to content

Commit a724ef4

Browse files
authored
Update readme.md
1 parent cab5270 commit a724ef4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

readme.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# What is this?
1+
## What is this?
22
This project is based on Alpine Linux, the official nginx image and an nginx module that provides static and dynamic brotli compression. [Brotli](https://github.com/google/brotli) and the [nginx brotli module ](https://github.com/google/ngx_brotli) are built by Google.
33

4-
# How to use this image
4+
## How to use this image
55
As this project is based on the official [nginx image](https://hub.docker.com/_/nginx/) look for instructions there. In addition to the standard configuration directives, you'll be able to use the brotli module specific ones, see [here for official documentation](https://github.com/google/ngx_brotli#configuration-directives)
66

77
```
88
docker pull macbre/nginx-brotli:1.19.2
99
```
1010

11-
# What's inside
11+
## What's inside
1212

1313
```
1414
$ docker run -it macbre/nginx-brotli nginx -V
@@ -21,15 +21,15 @@ configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-p
2121

2222
> [nginx release notes](https://nginx.org/en/CHANGES)
2323
24-
# SSL Grade A+ handling
24+
## SSL Grade A+ handling
2525

2626
Please refer to [Mozilla's SSL Configuration Generator](https://ssl-config.mozilla.org/). This image has `https://ssl-config.mozilla.org/ffdhe2048.txt` DH parameters for DHE ciphers fetched and stored in `/etc/ssl/dhparam.pem`:
2727

2828
```
2929
ssl_dhparam /etc/ssl/dhparam.pem;
3030
```
3131

32-
# nginx config files includes
32+
## nginx config files includes
3333

34-
* `.conf` files mounted in `/etc/nginx/main.d/` will be included in the `main` nginx context (e.g. you can call [`env` directive](http://nginx.org/en/docs/ngx_core_module.html#env) there)
35-
* `.conf` files mounted in `/etc/nginx/conf.d/` will be included in the `htto` nginx context
34+
* `.conf` files mounted in `/etc/nginx/main.d` will be included in the `main` nginx context (e.g. you can call [`env` directive](http://nginx.org/en/docs/ngx_core_module.html#env) there)
35+
* `.conf` files mounted in `/etc/nginx/conf.d` will be included in the `http` nginx context

0 commit comments

Comments
 (0)