当前位置: 首页 > news >正文

大连网站制作选择ls15227网站建设全包广州

大连网站制作选择ls15227,网站建设全包广州,表白网页免费在线制作,WordPress怎么设置分类1.背景 有时候远程或者某些业务需要做转发就会用到iptables或者nginx#xff0c;或者ss都可以 根据自己的情况去适配。 2.方法#xff1a; 1#xff09;iptables -把linux内核转发功能打开 echo net.ipv4.ip_forward1 /etc/sysctl.conf -出入转发…1.背景 有时候远程或者某些业务需要做转发就会用到iptables或者nginx或者ss都可以 根据自己的情况去适配。 2.方法 1iptables -把linux内核转发功能打开 echo net.ipv4.ip_forward1 /etc/sysctl.conf -出入转发192.168.1.1:19100 --10.22.0.5:9100 iptables -t nat -A PREROUTING -d 192.168.1.1 -p tcp -m tcp --dport 19100 -j DNAT --to-destination 10.22.0.5:9100 iptables -t -A POSTROUTING -d 10.22.0.5/32 -p tcp -m tcp --dport 9100 -j SNAT --to-source 192.168.1.1 2) nginx -安装nginx--一般现在新装版本nginx都在1.19以上都含有--with-stream模块手动编译的自行添加 yum -y install nginx nginx -V nginx version: nginx/1.20.1 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) built with OpenSSL 1.1.1k FIPS 25 Mar 2021 TLS SNI support enabled configure arguments: --prefix/usr/share/nginx --sbin-path/usr/sbin/nginx --modules-path/usr/lib64/nginx/modules --conf-path/etc/nginx/nginx.conf --error-log-path/var/log/nginx/error.log --http-log-path/var/log/nginx/access.log --http-client-body-temp-path/var/lib/nginx/tmp/client_body --http-proxy-temp-path/var/lib/nginx/tmp/proxy --http-fastcgi-temp-path/var/lib/nginx/tmp/fastcgi --http-uwsgi-temp-path/var/lib/nginx/tmp/uwsgi --http-scgi-temp-path/var/lib/nginx/tmp/scgi --pid-path/run/nginx.pid --lock-path/run/lock/subsys/nginx --usernginx --groupnginx --with-compat --with-debug --with-file-aio --with-google_perftools_module --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_degradation_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_moduledynamic --with-http_mp4_module --with-http_perl_moduledynamic --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_xslt_moduledynamic --with-maildynamic --with-mail_ssl_module --with-pcre --with-pcre-jit --with-streamdynamic --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads --with-cc-opt-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE2 -fexceptions -fstack-protector-strong --paramssp-buffer-size4 -grecord-gcc-switches -specs/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtunegeneric --with-ld-opt-Wl,-z,relro -specs/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-E 配置放到nginx.conf 里面就放到http上面也可以在http上面加include指定路径。 stream {upstream tcp_proxy {hash $remote_addr consistent;server 10.22.0.5:9100;}server {listen 19100;proxy_connect_timeout 1s;proxy_timeout 10s;proxy_pass tcp_proxy;}} 启动服务器可 检查端口是否起来 netstat -nltp | grep 19100 如果发现--with-streamdynamic 存在启动还是报错的话 # yum -y install nginx-all-modules.noarch
http://www.dnsts.com.cn/news/160620.html

相关文章:

  • 河南高端网站建设东营网
  • 地铁工程建设论文投稿网站做设计怎么进公司网站
  • 做电商网站需要注意哪些艺术设计公司名字
  • 电子商务网站建设网上商城仿励志一生网站整站源码 带数据
  • 生物商城网站建设网页设计制作网站素材
  • 网站做管制户外刀具通州优化公司
  • 网站建设设计 飞沐做调查表的网站
  • 做网站推广优化jsp怎么做购物网站
  • 海兴县做网站价格移动端开发前景
  • 如何给自己的公司建网站tk域名官网
  • 网站建设推广小王给个免费的网址
  • 唐山网站开发wordpress固定链接无法访问
  • 网站优化排名易下拉效率大连仟亿科技有限公司
  • 网站推广优化怎样个人网站免费模板下载
  • 企业做网站可以带中国吗购买网店
  • 大型网站建设兴田德润专业网站备案 多少钱
  • 哪里有专业做网站广州工程公司有哪些
  • 怎样做网站检索数据分析写作网站招聘
  • 自己怎么做网站游戏代理网络怎么设置
  • 网络营销应具备的技能模板网站怎么优化
  • 静态旅游网站网站建设哪家质量好
  • 江苏省网站备案电话号码wordpress绿色两栏响应式主题
  • 网站 必须有的功能是一个网站或站点的第一个网页
  • 公司网站代码模板下载温州做网站 掌熊号
  • 东乡族网站建设东营网站建设费用
  • 中国可以做交互的网站网站建设的合理建议
  • 商城网站的主要模块什么网站可以免费做宣传
  • 北京做网站的网络公司wordpress 订阅推送
  • 英文 网站 源码网络营销推广方案策划与实施
  • 网站开发必会语言关于色彩搭配的网站