Skip to content

Commit b7840b0

Browse files
authored
Create nginx.template.md
1 parent 1a6bc16 commit b7840b0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#### NGINX Proxy
2+
3+
This is the [NGINX](https://github.com/nginx/nginx) `docker-compose.yaml` file:
4+
5+
```yaml
6+
{ { file.examples/reverse-proxy/nginx/nginx.docker-compose.yaml } }
7+
```
8+
9+
Create a `nginx.conf` file in the `docker-compose.yaml` folder and mount it to `etc/nginx/conf.d/default.conf`:
10+
11+
```conf
12+
{ { file.examples/reverse-proxy/nginx/nginx.conf } }
13+
```
14+
15+
Lastly add your `cert.key` and `cert.crt` into your `certs/` folder and mount it to `/etc/nginx/ssl`.

0 commit comments

Comments
 (0)