您的位置:首页 > 汽车 > 新车 > 常州设计公司有哪些_什么是网络营销?网络营销与传统营销相比有哪些特点?_网站搭建免费_策划推广

常州设计公司有哪些_什么是网络营销?网络营销与传统营销相比有哪些特点?_网站搭建免费_策划推广

2024/12/24 21:46:22 来源:https://blog.csdn.net/Michaelwubo/article/details/144563662  浏览:    关键词:常州设计公司有哪些_什么是网络营销?网络营销与传统营销相比有哪些特点?_网站搭建免费_策划推广
常州设计公司有哪些_什么是网络营销?网络营销与传统营销相比有哪些特点?_网站搭建免费_策划推广

 启动

docker run -it --name lv_ocr --privileged=true --restart=always --net=host -v $(pwd)/config/nginx.conf:/etc/nginx/nginx.conf -v $(pwd)/config/conf.d:/etc/nginx/conf.d  -d  harbor.jettech.com/jettechtools/nginx:1.21.4

[root@it4it-prd-99 config]# ls
conf.d  nginx.conf
[root@it4it-prd-99 config]# tree
.
├── conf.d
│   ├── http
│   │   ├── server
│   │   │   ├── captcha_aarch64.conf
│   │   │   └── captcha_x86.conf
│   │   └── stream
│   │       ├── captcha_aarch64.conf
│   │       └── captcha_x86_64.conf
│   └── tcp
│       ├── server
│       │   └── mysql.conf
│       └── stream
│           └── mysql.conf
└── nginx.conf

[root@it4it-prd-99 config]# cat nginx.conf 
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;
include /usr/share/nginx/modules/*.conf;
events {worker_connections 1024;
}
http {log_format  main  '$remote_addr - $remote_user [$time_local] "$request" ''$status $body_bytes_sent "$http_referer" ''"$http_user_agent" "$http_x_forwarded_for"';access_log  /var/log/nginx/access.log  main;sendfile            on;tcp_nopush          on;tcp_nodelay         on;keepalive_timeout   65;types_hash_max_size 2048;include             /etc/nginx/mime.types;default_type        application/octet-stream;include /etc/nginx/conf.d/http/stream/*.conf;include /etc/nginx/conf.d/http/server/*.conf;
}
stream {include /etc/nginx/conf.d/tcp/stream/*.conf;include /etc/nginx/conf.d/tcp/server/*.conf;
}

 http: 

[root@it4it-prd-99 config]# cat conf.d/http/server/captcha_x86.conf 
server {listen 80;location / {proxy_set_header X-Forwarded-Host $host;proxy_set_header Host $host;proxy_set_header X-Forwarded-Server $host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;client_max_body_size 3000m;proxy_buffer_size 63k;proxy_buffers   1024 64k;client_body_buffer_size 512m;fastcgi_connect_timeout 300;fastcgi_send_timeout 300;fastcgi_read_timeout 300;proxy_pass http://captcha_x86;}location /status {stub_status on;access_log off;}}

 

[root@it4it-prd-99 config]# cat conf.d/http/stream/captcha_x86_64.conf 
upstream captcha_x86 {least_conn; #使用最少连接调度算法#ip_hash;#random;server 192.168.0.7:52000  weight=1 max_fails=5 fail_timeout=2;#server 192.168.0.8:9999  weight=1 max_fails=5 fail_timeout=2 backup; #备份机使用,所有宕机时候使用
}

tcp:

[root@it4it-prd-99 config]# cat conf.d/tcp/server/mysql.conf 
server {listen 23306;proxy_connect_timeout 10s;proxy_timeout 200s;proxy_pass mysql;
}

[root@it4it-prd-99 config]# cat conf.d/tcp/stream/mysql.conf 
upstream mysql {server 172.16.10.57:53306;
}

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com