nginx配置

来源:互联网 发布:怎么设计网络问卷 编辑:程序博客网 时间:2024/06/07 12:21


openssl enc -d -aes-128-cbc -iv 52dc7758af3f63dc2a35a1c6162806fe -K 8dee45884c10bc0709811ef719e2880f -in 1.ts -out 00001_clear.ts




http://192.168.1.28:8080/FileTranscoder/login.do




1.apt-get install nginx
2.service nginx start 


sudo vim /etc/nginx/sites-available/default




upstream origin {
    server 117.131.17.131;
    keepalive 32;
  }
:
location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                proxy_pass http://origin;
                #proxy_cache edge-cache;
                proxy_http_version 1.1;
                proxy_set_header Connection "";
        }




char szkeyRe[33]={0};
int i=0;
for(i=0;i<16;i++)
{
sprintf(szkeyRe+2*i,"%02X",((unsigned char *)trmUri.szKey)[i]);
}
szkeyRe[32]='\0';
原创粉丝点击