TLS NGINX反向代理规则
location /
{
proxy_pass http://127.0.0.1:15555;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location /
{
proxy_pass http://127.0.0.1:15555;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
变量的定义方式
类型 名字 {初始值}; 或者 类型 名字 = 初始值;
int test {0}; int test = 0;
常量的定义方式
const 类型 名字 {初始值}; 或者 类型 const 名字 {初始值};
const int test {0}; int const test {0};
#define test 0