"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-5079/doc/example-config-files/jitsi.example.com.example" (17 Jun 2021, 1006 Bytes) of package /linux/misc/jitsi-meet-5079.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 server {
    2     listen 80;
    3 
    4     server_name jitsi.example.com;
    5     # set the root
    6     root /srv/jitsi.example.com;
    7     index index.html;
    8 
    9     location ~ ^/([a-zA-Z0-9=\?]+)$ {
   10         rewrite ^/(.*)$ / break;
   11         }
   12 
   13     location / {
   14         ssi on;
   15     }
   16 
   17     gzip on;
   18     gzip_types text/plain text/css application/javascript application/json image/x-icon application/octet-stream application/wasm;
   19     gzip_vary on;
   20     gzip_proxied no-cache no-store private expired auth;
   21     gzip_min_length 512;
   22 
   23     # BOSH
   24     location /http-bind {
   25         proxy_pass      http://localhost:5280/http-bind;
   26         proxy_set_header X-Forwarded-For $remote_addr;
   27         proxy_set_header Host $http_host;
   28     }
   29 
   30     # xmpp websockets
   31     location /xmpp-websocket {
   32         proxy_pass http://localhost:5280/xmpp-websocket;
   33         proxy_http_version 1.1;
   34         proxy_set_header Upgrade $http_upgrade;
   35         proxy_set_header Connection "upgrade";
   36         proxy_set_header Host $host;
   37         tcp_nodelay on;
   38     }
   39 }