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

低价建网站可信网站认证价格

低价建网站,可信网站认证价格,安徽省建设工程网站,六年级做网站的软件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/57940.html

相关文章:

  • 怎么做外贸个人网站网站开发有哪些语言
  • 网站开发所需的知识销售计划方案怎么写
  • 南阳定制网站制作价格低网站链接可以自己做吗
  • 宣城网站seo商城网站策划
  • 宁波网站建设 泊浮科技宁波房产网上备案查询官网
  • 大连网站制作报价网站名字
  • 北仑网站制作织梦网站自动跳转手机网站
  • 何为响应式网站抖音自媒体平台注册入口
  • 什么建设网站贵阳网站建设方案报价
  • 做网站需要的语言网络营销软文
  • 网站开发图片单页网站优化
  • 建设银行官方网站打不开啊开发软件下载
  • 潍坊设计网站网站内外链怎么做
  • 金隅嘉华大厦网站建设公司当前最好用的wordpress主题
  • app下载网站模板对电子商务网站建设与管理的理解
  • 怎么把qq空间做成企业网站东莞网站建设案例
  • 跟网站开发有关系的工作有哪些门户网站系统建设方案
  • 旅游网站设计总结扬州市城市建设投资公司网站
  • 南山的网站建设没人愿意干的68个暴利行业
  • 深圳华强北做网站肇庆百度网站推广
  • 在线书店网站怎么做南京seo公司哪家好
  • 网站 网页区别门户网站功能
  • 网站做百度百科外贸网站功能
  • 重庆网站制作团队网站开发费用属于什么科目
  • 公众号平台入口东莞网站设计知名乐云seo
  • 织梦 一键更新后网站空白网站开发资质
  • 那个网站做h5不要钱怎么用word做网站
  • 杭州网站开发外包公司网络规划设计师教程第2版pdf下载
  • 性价比最高的网站建设公司宁德市中医院
  • 什么网站做生鲜比较好网网站建设设计公司