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

wordpress 站点主页手机网站维护费

wordpress 站点主页,手机网站维护费,宁波网站推广优化公司,口碑营销有哪些方式一直大概知道nginx怎么玩,但是不看文档又蒙蔽.在这记录一下,以后好查看 下载tomcat,改index.jsp http://tomcat.apache.org/download-80.cgi tomcat9已经出来了,但是自己用了一次,闪退,换tomcat8,开启成功.(tomcat9这个原因有时间在琢磨) 修改tomcat的index.jsp 然后在index.js…一直大概知道nginx怎么玩,但是不看文档又蒙蔽.在这记录一下,以后好查看 下载tomcat,改index.jsp http://tomcat.apache.org/download-80.cgi tomcat9已经出来了,但是自己用了一次,闪退,换tomcat8,开启成功.(tomcat9这个原因有时间在琢磨) 修改tomcat的index.jsp 然后在index.jsp加点标记   div idasf-box                h1                    tomcat3的session是:                    %request.getSession().getId()%                /h1                h1${pageContext.servletContext.serverInfo}/h1            /div   然后依次完成三个tomcat 定义nginx 官网下载 http://nginx.org/en/download.html 解压目录,修改nginx.conf #user  nobody;worker_processes  1;#error_log  logs/error.log;#error_log  logs/error.log  notice;#error_log  logs/error.log  info;#pid        logs/nginx.pid;events {    worker_connections  1024;}http {    include       mime.types;    default_type  application/octet-stream;    #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  logs/access.log  main;    sendfile        on;    #tcp_nopush     on;    #keepalive_timeout  0;    keepalive_timeout  65;    #gzip  on;                #设置反向代理的服务器列表     upstream test_ip{        server localhost:8080 weight1;        server localhost:8081 weight1;        server localhost:8082 weight1;        #配置轮询        #ip_hash        }        server {        listen       80;        server_name  localhost;        #charset koi8-r;        #access_log  logs/host.access.log  main;                        #配置方向代理的路径        location / {            root   html;            proxy_pass http://test_ip;            index  index.html index.htm;        }        #error_page  404              /404.html;        # redirect server error pages to the static page /50x.html        #        error_page   500 502 503 504  /50x.html;        location /50x.html {            root   html;        }        # proxy the PHP scripts to Apache listening on 127.0.0.1:80        #        #location ~ \.php$ {        #    proxy_pass   http://127.0.0.1;        #}        # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000        #        #location ~ \.php$ {        #    root           html;        #    fastcgi_pass   127.0.0.1:9000;        #    fastcgi_index  index.php;        #    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;        #    include        fastcgi_params;        #}        # deny access to .htaccess files, if Apaches document root        # concurs with nginxs one        #        #location ~ /\.ht {        #    deny  all;        #}    }    # another virtual host using mix of IP-, name-, and port-based configuration    #    #server {    #    listen       8000;    #    listen       somename:8080;    #    server_name  somename  alias  another.alias;    #    location / {    #        root   html;    #        index  index.html index.htm;    #    }    #}    # HTTPS server    #    #server {    #    listen       443 ssl;    #    server_name  localhost;    #    ssl_certificate      cert.pem;    #    ssl_certificate_key  cert.key;    #    ssl_session_cache    shared:SSL:1m;    #    ssl_session_timeout  5m;    #    ssl_ciphers  HIGH:!aNULL:!MD5;    #    ssl_prefer_server_ciphers  on;    #    location / {    #        root   html;    #        index  index.html index.htm;    #    }    #}} 标红的字体的upstream的定义表示了访问列表 在location中定义的proxy_pass 开启nginx,tomcat 点击nginx.exe一闪而过 点击三个tomcat的startup.bat   最后,输入localhost在浏览器,访问     最后再次输入local就会发现session值改变了,说明nginx反向代理成了   最后 nginx -s reload  修改配置后重新加载生效 nginx -s reopen  重新打开日志文件nginx -t -c /path/to/nginx.conf 测试nginx配置文件是否正确关闭nginxnginx -s stop  :快速停止nginx         quit  完整有序的停止nginx  转载于:https://www.cnblogs.com/summer-fate/p/7507791.html
http://www.yutouwan.com/news/37124/

相关文章:

  • 网站开发研究背景网页设计作业文件
  • 网站建设完成确认书展会搭建设计案例网站
  • 网站建设知识论文代理游戏网站
  • 网站搭建网平面设计学徒工资一般多少
  • 古腾堡布局的网站相关网站怎么做
  • 工会 网站 建设合肥做推拉棚网站推广
  • 域名出售网站阿里云域名注册流程
  • 昌邑网站建设seo自学网视频教程
  • 创建网站开发公司服务器做网站数据库
  • 网站建设与管理ppt模板下载wordpress免费建站
  • 合肥科技职业学院网站建设与管理做app模板网站有哪些内容
  • seo查询是什么商城网站不易优化
  • 网站开发的背景知识与相关技术做p2p投资理财的网站
  • 网站的锚点链接怎么做代运营公司
  • wap网站如何建设网站建设的核心是什么
  • 长春住房和城乡建设部官方网站关于动漫的网站建设
  • 无锡时光科技网站建设公司怎么样江苏林润建设工程有限公司网站
  • 一站式网页设计服务平台网页设计公司的目标客户有哪些
  • wordpress站内查找搜狗搜索排名优化
  • 深圳高端做网站公司网站商城方案
  • 怎么快速做网站文章网站建设与管理维护参考文献
  • 网站建设 广告帮别人建设网站多少利润
  • 中国工程建设企业协会网站南京明辉建设有限公司网站
  • 专业网站开发制作公司厦门软件园网站开发
  • 中国交通建设监理协会网站如何做织梦论坛类的网站
  • 电子商务网站建设前期规划方案建设网站的企业公司
  • 网页设计公司网站设计公司注册资金多少的利弊
  • 网站添加flv视频代码专业做鞋子网站有哪些
  • 自己做门户网站简单的招聘网站怎么做
  • 免费网站服务器租用wordpress后台变慢