mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
As an intermediate step on the path to merging jitsi-meet and
jitsi-meet-react, import the whole source code of jitsi-meet-react as it
stands at
2f23d98424
i.e. the lastest master at the time of this import. No modifications are
applied to the imported source code in order to preserve a complete
snapshot of it in the repository of jitsi-meet and, thus, facilitate
comparison later on. Consequently, the source code of jitsi-meet and/or
jitsi-meet-react may not work. For example, jitsi-meet's jshint may be
unable to parse jitsi-meet-react's source code.
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
server_names_hash_bucket_size 64;
|
|
|
|
server {
|
|
listen 80;
|
|
server_name jitsi-meet.example.com;
|
|
return 301 https://$host$request_uri;
|
|
}
|
|
server {
|
|
listen 443 ssl;
|
|
server_name jitsi-meet.example.com;
|
|
|
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
|
ssl_prefer_server_ciphers on;
|
|
ssl_ciphers "EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA256:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EDH+aRSA+AESGCM:EDH+aRSA+SHA256:EDH+aRSA:EECDH:!aNULL:!eNULL:!MEDIUM:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4:!SEED";
|
|
|
|
add_header Strict-Transport-Security "max-age=31536000";
|
|
|
|
ssl_certificate /var/lib/prosody/jitsi-meet.example.com.crt;
|
|
ssl_certificate_key /var/lib/prosody/jitsi-meet.example.com.key;
|
|
|
|
root /usr/share/jitsi-meet-react;
|
|
index index.html index.htm;
|
|
|
|
location /config.js {
|
|
alias /etc/jitsi/meet/jitsi-meet.example.com-config.js;
|
|
}
|
|
|
|
location ~ ^/([a-zA-Z0-9=\?]+)$ {
|
|
rewrite ^/(.*)$ / break;
|
|
}
|
|
|
|
location / {
|
|
ssi on;
|
|
}
|
|
|
|
# BOSH
|
|
location /http-bind {
|
|
proxy_pass http://localhost:5280/http-bind;
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
proxy_set_header Host $http_host;
|
|
}
|
|
}
|