Skip to content
Snippets Groups Projects
Select Git revision
  • e48924b57cd3dd2afba7122942909b21f332715f
  • master default protected
  • 2018ws
  • 2017ws
  • 2016ws
5 results

gtk-6.c

Blame
  • Forked from Peter Gerwinski / hp
    Source project has a limited visibility.
    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;
    }