diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-01-26 19:09:26 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-01-26 19:09:26 +0100 |
commit | a68a1e1da77f6f87a1c315d057edc59a31746d1c (patch) | |
tree | 53916f1aa49dd43315dfd6d9bc1d6b08beb3569a /app/jitsi/config | |
parent | 3563fb5994944555c67aa8eb0246e1b747741047 (diff) | |
download | infrastructure-a68a1e1da77f6f87a1c315d057edc59a31746d1c.tar.gz infrastructure-a68a1e1da77f6f87a1c315d057edc59a31746d1c.zip |
Migrate jitsi + WIP backup doc
Diffstat (limited to 'app/jitsi/config')
-rw-r--r-- | app/jitsi/config/nginx.conf | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/app/jitsi/config/nginx.conf b/app/jitsi/config/nginx.conf index aecf4ce..32cc3c1 100644 --- a/app/jitsi/config/nginx.conf +++ b/app/jitsi/config/nginx.conf @@ -1,5 +1,5 @@ # some doc: https://www.nginx.com/resources/wiki/start/topics/examples/full/ -error_log /dev/stderr; +error_log /dev/stderr info; events {} @@ -39,8 +39,10 @@ http { # inspired by https://raw.githubusercontent.com/jitsi/docker-jitsi-meet/master/web/rootfs/defaults/meet.conf server { - listen 0.0.0.0:{{ env "NOMAD_PORT_https_port" }} ssl http2 default_server; - listen [::]:{{ env "NOMAD_PORT_https_port" }} ssl http2 default_server; + #listen 0.0.0.0:{{ env "NOMAD_PORT_https_port" }} ssl http2 default_server; + #listen [::]:{{ env "NOMAD_PORT_https_port" }} ssl http2 default_server; + listen 0.0.0.0:{{ env "NOMAD_PORT_https_port" }} default_server; + listen [::]:{{ env "NOMAD_PORT_https_port" }} default_server; client_max_body_size 0; server_name _; @@ -48,8 +50,8 @@ http { ssi on; ssi_types application/x-javascript application/javascript; - ssl_certificate /etc/nginx/jitsi.crt; - ssl_certificate_key /etc/nginx/jitsi.key; + #ssl_certificate /etc/nginx/jitsi.crt; + #ssl_certificate_key /etc/nginx/jitsi.key; root /srv/jitsi-meet; index index.html; error_page 404 /static/404.html; @@ -90,7 +92,7 @@ http { add_header 'Access-Control-Allow-Origin' '*'; proxy_pass http://{{ env "NOMAD_ADDR_bosh_port" }}/http-bind; proxy_set_header X-Forwarded-For \$remote_addr; - proxy_set_header Host \$http_host; + #proxy_set_header Host \$http_host; } # not used yet VVV |