Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- server_name conference.simosnap.com;
- return 301 https://$host$request_uri;
- }
- server {
- listen 443;
- server_name conference.simosnap.com;
- ssl on;
- ssl_certificate /etc/jitsi/meet/conference.simosnap.com.crt;
- ssl_certificate_key /etc/jitsi/meet/conference.simosnap.com.key;
- # set the root
- root /usr/share/jitsi-meet;
- index index.html;
- location /config.js {
- alias /etc/jitsi/meet/conference.simosnap.com-config.js;
- }
- location ~ /external_api.* {
- root /usr/share/jitsi-meet/libs;
- }
- 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;
- }
- # xmpp websockets
- location /xmpp-websocket {
- proxy_pass http://localhost:5280/xmpp-websocket;
- proxy_http_version 1.1;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection "upgrade";
- proxy_set_header Host $host;
- tcp_nodelay on;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment