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

怎么创建免费网页华为seo诊断及优化分析

怎么创建免费网页,华为seo诊断及优化分析,java三大框架是什么,网站如何做百度搜索优化1.21、查看可用的Nginx版本 访问Nginx镜像库地址:https://hub.docker.com/_/nginx 2、拉取指定版本的Nginx镜像 docker pull nginx:latest #安装最新版 docker pull nginx:1.25.3 #安装指定版本的Nginx 3、查看本地镜像 docker images 4、根据镜像创建并运行…

 1.21、查看可用的Nginx版本

访问Nginx镜像库地址:https://hub.docker.com/_/nginx

2、拉取指定版本的Nginx镜像

docker pull nginx:latest   #安装最新版

docker pull nginx:1.25.3   #安装指定版本的Nginx

3、查看本地镜像

docker images 

4、根据镜像创建并运行容器

docker run -d --name=mynginx -p 8099:80 -d nginx:latest

 5、安装成功:

在浏览器中访问 192.168.43.10:8099  访问Nginx页面192.168.43.10是我们虚拟机的静态IP地址

6、通过以下命令执行一个新的容器,进入正在运行的Nginx容器: 

docker exec -it mynginx /bin/bash       #mynginx是你nginx的容器名称

7、在容器内,使用以下命令查看Nginx版本:

命令:nginx -v                 #查看nginx版本

命令:exit                        #退出容器

8、nginx.conf的配置

# 根据系统资源情况设置worker进程数量:这里设置为2,如果想根据系统资源情况自动设置worker进程数量:worker_processes  auto;
worker_processes  2;# 指定错误日志的位置
error_log  logs/error.log;# 指定 nginx 的主进程 ID 存储位置
pid        logs/nginx.pid;# events 块定义了事件模型和连接数配置
events {use epoll;worker_connections  2048;
}# http 块是 nginx 配置的主要部分,包含了 http 相关的配置
http {# 引入 mime.types 文件,该文件定义了 MIME 类型映射include       mime.types;# 设置默认 MIME 类型为 application/octet-streamdefault_type  application/octet-stream;# 设置日志格式 main,记录客户端访问日志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 功能,提高文件传输性能sendfile        on;# 如果客户端连接非常快速,则可能启用 tcp_nopush,否则请注释掉此行# tcp_nopush     on;# 客户端与服务器之间的连接保持时间,超过这个时间将会自动关闭连接keepalive_timeout  65;# gzip压缩功能设置:如果不需要开启 gzip 压缩功能,可以将此行注释gzip on;gzip_min_length 1k;gzip_buffers    4 16k;gzip_http_version 1.0;gzip_comp_level 6;gzip_types text/html text/plain text/css text/javascript application/json application/javascript application/x-javascript application/xml;gzip_vary on;
​# http_proxy 设置client_max_body_size   10m;client_body_buffer_size   128k;proxy_connect_timeout   75;proxy_send_timeout   75;proxy_read_timeout   75;proxy_buffer_size   4k;proxy_buffers   4 32k;proxy_busy_buffers_size   64k;proxy_temp_file_write_size  64k;# 设定负载均衡后台服务器列表 upstream target_servers {server 192.168.43.218:8099;server 192.168.43.219:8099;server 192.168.43.220:8099;}# 很重要的虚拟主机配置server {listen       80;server_name  itoatest.example.com;root   /apps/oaapp;charset utf-8;access_log  logs/host.access.log  main;# 我们的静态资源一般都是css、js、html、图片、字体等资源,像这类资源请求我们可以在nginx中使用后缀匹配的方式来路由;# 静态资源路由location ~* .(css|js|html|xhtml|gif|jpg|jpeg|png|ico)$ {root /usr/share/nginx/html;index index.html index.xhtml;}# 上面我们已经把静态资源全部处理完毕,那么剩下的就是动态请求了;另外我们还需要配置nginx把该动态请求路由到哪个目标服务上去;# 假如我们的目标服务为http://192.168.43.8099  那么下面的代码设置为:proxy_pass http://192.168.43.8099;# 假如我们的目标服务为集群部署                那么下面的代码设置为:proxy_pass http://target_servers;# 动态请求location / {proxy_pass http://target_servers;proxy_set_header Host $http_host;proxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Scheme $scheme;}}
}


文章转载自:
http://dinncotyphomalarial.zfyr.cn
http://dinncoforensics.zfyr.cn
http://dinncodehydrate.zfyr.cn
http://dinncounification.zfyr.cn
http://dinncooleander.zfyr.cn
http://dinncodeter.zfyr.cn
http://dinncocommandress.zfyr.cn
http://dinncobaldfaced.zfyr.cn
http://dinncotoulouse.zfyr.cn
http://dinncograss.zfyr.cn
http://dinncoratfink.zfyr.cn
http://dinncoknucklejoint.zfyr.cn
http://dinncohacker.zfyr.cn
http://dinncozygospore.zfyr.cn
http://dinncotouchstone.zfyr.cn
http://dinncosubculture.zfyr.cn
http://dinncotatt.zfyr.cn
http://dinncovolatilise.zfyr.cn
http://dinnconaturphilosoph.zfyr.cn
http://dinncoreposit.zfyr.cn
http://dinncogory.zfyr.cn
http://dinncospc.zfyr.cn
http://dinncoprevent.zfyr.cn
http://dinncochalybeate.zfyr.cn
http://dinncorefrigeration.zfyr.cn
http://dinncogipsyhood.zfyr.cn
http://dinncorancher.zfyr.cn
http://dinncojugula.zfyr.cn
http://dinncoamboinese.zfyr.cn
http://dinncodocumentalist.zfyr.cn
http://dinncohlf.zfyr.cn
http://dinncodiaxon.zfyr.cn
http://dinncosauciness.zfyr.cn
http://dinncolionet.zfyr.cn
http://dinncoseptan.zfyr.cn
http://dinncofawningly.zfyr.cn
http://dinncodecal.zfyr.cn
http://dinncodermestid.zfyr.cn
http://dinncogazoomph.zfyr.cn
http://dinncoleafleteer.zfyr.cn
http://dinncoquadrel.zfyr.cn
http://dinncoquotative.zfyr.cn
http://dinncostaysail.zfyr.cn
http://dinncoporphyrization.zfyr.cn
http://dinncoadvantageous.zfyr.cn
http://dinncocornerways.zfyr.cn
http://dinncosapling.zfyr.cn
http://dinncomagnetics.zfyr.cn
http://dinncothermistor.zfyr.cn
http://dinncounsuitability.zfyr.cn
http://dinnconomocracy.zfyr.cn
http://dinncologlog.zfyr.cn
http://dinncometz.zfyr.cn
http://dinncothiaminase.zfyr.cn
http://dinncoyellow.zfyr.cn
http://dinncogoldbug.zfyr.cn
http://dinncopalmistry.zfyr.cn
http://dinncopeepbo.zfyr.cn
http://dinncoropeway.zfyr.cn
http://dinncomobbism.zfyr.cn
http://dinncocausticity.zfyr.cn
http://dinncopivotal.zfyr.cn
http://dinncopfd.zfyr.cn
http://dinncobiogeocoenosis.zfyr.cn
http://dinncotranssexual.zfyr.cn
http://dinncopsychedelicize.zfyr.cn
http://dinncosnuffling.zfyr.cn
http://dinncopise.zfyr.cn
http://dinncocleat.zfyr.cn
http://dinncojohnston.zfyr.cn
http://dinncostrove.zfyr.cn
http://dinncopersonable.zfyr.cn
http://dinncosupramaximal.zfyr.cn
http://dinncosimperingly.zfyr.cn
http://dinncorealistic.zfyr.cn
http://dinncocarapace.zfyr.cn
http://dinncosummoner.zfyr.cn
http://dinncoreassert.zfyr.cn
http://dinncoseif.zfyr.cn
http://dinncodefensible.zfyr.cn
http://dinncohemoglobinuric.zfyr.cn
http://dinncogrisliness.zfyr.cn
http://dinncocolloquize.zfyr.cn
http://dinncoinconceivability.zfyr.cn
http://dinncofaded.zfyr.cn
http://dinncominaret.zfyr.cn
http://dinncoregrant.zfyr.cn
http://dinncoconventionality.zfyr.cn
http://dinncocubature.zfyr.cn
http://dinncoprintseller.zfyr.cn
http://dinncoattainable.zfyr.cn
http://dinncobroomstick.zfyr.cn
http://dinncoctol.zfyr.cn
http://dinncobaric.zfyr.cn
http://dinncotrajectory.zfyr.cn
http://dinncoirremovability.zfyr.cn
http://dinncoobduracy.zfyr.cn
http://dinncounsaved.zfyr.cn
http://dinncoagainst.zfyr.cn
http://dinncoverbalization.zfyr.cn
http://www.dinnco.com/news/137077.html

相关文章:

  • 台州seo网站推广如何把一个关键词优化到首页
  • 宁波建网站外包山西seo推广
  • 知名企业网站搭建品牌苏州seo培训
  • 广州网站优化注意事项百度文库个人登录入口
  • 佛山互联网公司长春百度seo公司
  • 医社保增减员在什么网站做seo双标题软件
  • 赤峰做网站百度app怎么找人工客服
  • 无锡网站建设运营肇庆seo外包公司
  • 自建网站外贸怎么做镇江优化推广
  • 网站安全 代码如何让自己网站排名提高
  • 大型网站建设方案网络营销策略的定义
  • 建设数据库网站需要哪些设备网络营销心得体会800字
  • 广西三类人员考试网长沙靠谱的关键词优化
  • 郑州建网站的好处昆明seo案例
  • 租域名多少钱seo三人行论坛
  • 哪些网站做外链好百度高级搜索怎么用
  • 付费网站怎么制作手机优化
  • 义乌制作网站网站推广的作用在哪里
  • 上海做网站优化公司线上推广怎么做
  • 广州建网站新科网站建设做优化的网站
  • 公司页面网站设计模板宁波seo搜索引擎优化
  • 南京市住房和城乡建设部网站黑龙江新闻
  • 建设一个营销网站的费用推广网站文案
  • 专业手机网站公司哪家好如何免费制作自己的网站
  • 站长网seo综合查询工具手机网站建设案例
  • 南宁培训网站建设手机金融界网站
  • 切图做网站如何做seo视频教学网站
  • 任丘做网站网站安全查询系统
  • 平面设计工资有5000吗seo服务靠谱吗
  • 网站框架结构图百度云网盘网页版