Compare commits
2 Commits
1f9ee3ce9e
...
645ec05164
| Author | SHA1 | Date | |
|---|---|---|---|
|
645ec05164
|
|||
|
64922f2dc2
|
@@ -1,6 +1,6 @@
|
|||||||
.PHONY: setup-tls
|
.PHONY: setup-tls
|
||||||
|
|
||||||
DOMAIN ::= website.com
|
DOMAIN = website.com
|
||||||
|
|
||||||
setup-tls: tls/cert.pem
|
setup-tls: tls/cert.pem
|
||||||
|
|
||||||
|
|||||||
@@ -59,8 +59,19 @@ $ # ^ do that when you make changes to config
|
|||||||
|
|
||||||
# what if sth doesn't work?
|
# what if sth doesn't work?
|
||||||
|
|
||||||
|
## using podman?
|
||||||
|
give the nginx (sub)user access to the tls directory
|
||||||
|
```console
|
||||||
|
$ podman unshare setfacl -Rmu:101:rX tls/
|
||||||
|
```
|
||||||
|
|
||||||
|
## using docker?
|
||||||
might be the `:z` label in the `volumes` in `docker-compose.yml`. remove it.
|
might be the `:z` label in the `volumes` in `docker-compose.yml`. remove it.
|
||||||
e.g.
|
e.g.
|
||||||
```
|
```
|
||||||
- ./tls:/etc/nginx/tls:ro
|
- ./tls:/etc/nginx/tls:ro
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## using macOS?
|
||||||
|
make is angry with you? you're on your own for this one. just read the commands and run them directly
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -5,6 +5,6 @@ services:
|
|||||||
- ./conf.d/:/etc/nginx/conf.d:ro,z
|
- ./conf.d/:/etc/nginx/conf.d:ro,z
|
||||||
- ./tls:/etc/nginx/tls:ro,z
|
- ./tls:/etc/nginx/tls:ro,z
|
||||||
- ./www:/srv/www:ro,z
|
- ./www:/srv/www:ro,z
|
||||||
publish:
|
ports:
|
||||||
- 8443:443
|
- 8443:443
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user