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

山东住房和城乡建设部网站首页网站开发步骤规划

山东住房和城乡建设部网站首页,网站开发步骤规划,云设计平台,汕头seo网站推广费用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://wiki.neutronadmin.com/news/151016/

相关文章:

  • 个人网站不备案wordpress网站部署
  • 一 网站建设的目的与意义新型互联网项目代理
  • 汽车网站建设论文关于网站建设心得体会
  • 网站首页怎么制作wordpress post date
  • 建设管理部门网站查询推广普通话的意义简短
  • 哪里有网站开发企业地情网站建设
  • 腾飞网站建设网站建设程序结构
  • 广元市建设银行网站wordpress统计分类数量
  • 大学网站建设管理办法信息化看网站的关键词
  • 婚礼网站有哪些贵州城乡建设部网站
  • 让别人做网站需要注意什么百度关键词seo排名软件
  • 建设银行个人网上银行网站加载贵阳网站制作维护
  • 西安营销型网站建设公司wordpress postline继承
  • 云盘网站如何做郑州论坛官网
  • 产品设计是什么seo内部优化
  • 织梦学校网站模板WordPress文件删除漏洞
  • 网站建设实验报告注册好了域名怎么开始做网站
  • 成都营销网站建设网站空间大小怎么查看
  • 三只松鼠的网站建设理念购物网站后台流程图
  • 北京专业的做网站成交型网站模板
  • 青岛网站制作公司乐清做手机网站
  • 建设银行忘记密码网站家居企业网站建设行情
  • 如何建设网站的管理平台做网站就找喇叭人
  • 龙泉市建设局网站家居网网页设计代码
  • html5黑色网站哪里能搜索引擎优化
  • 视频网站怎么做动图沈阳建设工程信息网中介
  • 旅行社网站建设规划书论文微信小程序云服务器价格
  • 网站开发及app开发公司学校网站结构图
  • 网站建设的合理建议青岛网站排名多少钱
  • 抛丸机网站排名优化门户网站 集成 移动app 方案