mirror of
https://github.com/luzifer-docker/jitsi.git
synced 2024-11-09 15:10:02 +00:00
Add a little more documentation
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
83bb679d84
commit
f49c171038
1 changed files with 25 additions and 0 deletions
25
README.md
25
README.md
|
@ -5,3 +5,28 @@ This container contains an [S6 overlay](https://github.com/just-containers/s6-ov
|
|||
The installation is based on the Jitsi/stable Debian installation with deactivated post-install scripts. To configure the container it needs to be started with the `JITSI_DOMAIN` environment variable which then is used to configure the container which internal certificates and configuration files.
|
||||
|
||||
After its start the container exposes port 80 to be proxied with a SSL / TLS terminating proxy.
|
||||
|
||||
## Setup
|
||||
|
||||
```console
|
||||
# docker run --rm -ti -e JITSI_DOMAIN=jitsi.example.com -p 127.0.0.1:1240:80 luzifer/jitsi
|
||||
# cat /etc/nginx/conf.d/jitsi.conf
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
server_name jitsi.example.com;
|
||||
|
||||
ssl_certificate /data/ssl/nginxle/example.com.pem;
|
||||
ssl_certificate_key /data/ssl/nginxle/example.com.key;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:1240;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue