Skip to content
Snippets Groups Projects
Select Git revision
  • 45a267a6ee0bd4d99e3fc0774a9cbcad9a63630f
  • 2024ss default
  • 2023ss
  • 2022ss
  • 2021ss protected
5 results

blink-07.s

Blame
  • greenlight-v3.nginx 1.97 KiB
    ### Greenlight version 3:
    
    location /cable {
        proxy_pass http://127.0.0.1:5050;
        proxy_redirect off;
        proxy_http_version 1.1;
    
        proxy_set_header Host $http_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;
    
        proxy_set_header Connection "upgrade";
        proxy_set_header Upgrade $http_upgrade;
    }
    
    location @bbb-fe {
        proxy_pass http://127.0.0.1:5050;
        proxy_redirect off;
        proxy_http_version 1.1;
    
        proxy_set_header Host $http_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;
        proxy_set_header Connection "";
    }
    
    location ~ '/api/v1/rooms/\w{3}-\w{3}-\w{3}-\w{3}.json$' {
        proxy_pass http://127.0.0.1:5050;
        proxy_redirect off;
        proxy_http_version 1.1;
    
        proxy_set_header Host $http_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;
        proxy_set_header Connection "";
    
        client_max_body_size 31m;
    }
    
    location ~ '/api/v1/users/\w{8}-\w{4}-\w{4}-\w{4}-\w{12}.json$' {
        proxy_pass http://127.0.0.1:5050;
        proxy_redirect off;
        proxy_http_version 1.1;
    
        proxy_set_header Host $http_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;
        proxy_set_header Connection "";
    
        client_max_body_size 4m;
    }
    
    location ~ /api/v1/admin/site_settings/BrandingImage.json$ {
        proxy_pass http://127.0.0.1:5050;
        proxy_redirect off;
        proxy_http_version 1.1;
    
        proxy_set_header Host $http_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;
        proxy_set_header Connection "";
    
        client_max_body_size 4m;
    }