%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/etc/ansible/roles/push-server/templates/
Upload File :
Create Path :
Current File : //proc/self/root/etc/ansible/roles/push-server/templates/nginx-rtc-im_subscrider.conf.j2

# {{ ansible_managed }}
location ~* ^{{ nodejs_subws }} {
    access_log off;
    proxy_pass http://nodejs_sub;
    # http://blog.martinfjordvald.com/2013/02/websockets-in-nginx/
    # 12h+0.5
    proxy_max_temp_file_size 0;
    proxy_read_timeout  43800;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $replace_upgrade;
    proxy_set_header Connection $connection_upgrade;
}

location ~* ^{{ nodejs_sub }} {
    access_log off;
    rewrite ^{{ nodejs_sub }}(.*)$ {{ nodejs_subws }}$1 break;
    proxy_pass http://nodejs_sub;
    proxy_max_temp_file_size 0;
    proxy_read_timeout  43800;
}

location ~* ^{{ nodejs_rest }} {
    access_log off;
    proxy_pass http://nodejs_pub;
    proxy_max_temp_file_size 0;
    proxy_read_timeout  43800;
}



Zerion Mini Shell 1.0