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

宿迁手机网站开发公司重庆seo全网营销

宿迁手机网站开发公司,重庆seo全网营销,网络营销网站建设ppt,网站开发合同答案汉化版步骤可以参考:写文章-CSDN创作中心https://mp.csdn.net/mp_blog/creation/editor/135258056 一、创建容器 二、配置端口,以及容器卷挂载 挂载目录配置:(下方截图的目录如下,docker 改为 mydocker,用docker作为根…

 汉化版步骤可以参考:写文章-CSDN创作中心icon-default.png?t=N7T8https://mp.csdn.net/mp_blog/creation/editor/135258056

 一、创建容器

二、配置端口,以及容器卷挂载

挂载目录配置:(下方截图的目录如下,docker 改为 mydocker,用docker作为根目录不行)

挂载页面 /data/dockerData/nginx/html  /usr/share/nginx/html 

挂载日志 /data/dockerData/nginx/logs  /var/log/nginx

注意:最好将配置文件挂载出来,否则修改配置文件启动失败,就要删容器了

/data/dockerData/nginx/conf/my.config  /etc/nginx/nginx.conf

/data/dockerData/nginx/conf/conf.d  /etc/nginx/conf.d

重要一步:先编写配置文件 ,不然portainer会报错如下

failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/mydocker/nginx/conf/nginx.conf" to rootfs at "/etc/nginx/nginx.conf": mount /mydocker/nginx/conf/nginx.conf:/etc/nginx/nginx.conf (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

1-创建目录
[root@syf ~]# mkdir -p /data/dockerData/nginx/conf/
[root@syf ~]# cd /data/dockerData/nginx/conf/2-vim nginx.config#全局块
#user  nobody;
worker_processes  1;#event块
events {worker_connections  1024;
}#http块
http {#http全局块include       mime.types;default_type  application/octet-stream;sendfile        on;keepalive_timeout  65;#server块server {#server全局块listen       80;server_name  localhost;#location块location / {root   /usr/share/nginx/html;}}}

 配置容器选项:

部署成功

三、连接控制台

3.1进入控制台配置nginx

也可以在 /mydocker/nginx/conf/nginx.conf,这个挂载的配置文件上修改。此处演示portainer修中改过程

因为没有vim,所以安装下

更新ubuntu 包管理工具
apt-get update
安装vim
apt-get -y install vim

编辑conf文件:

1-进入nginx配置文件目录
root@edac64fd1776:/etc/nginx# pwd
/etc/nginx
root@edac64fd1776:/etc/nginx# vim nginx.conf 2-配置80端口,以及静态文件路径
user  nginx;
worker_processes  auto;error_log  /var/log/nginx/error.log notice;
pid        /var/run/nginx.pid;events {worker_connections  1024;
}http {include       /etc/nginx/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  /var/log/nginx/access.log  main;sendfile        on;#tcp_nopush     on;keepalive_timeout  65;#gzip  on;include /etc/nginx/conf.d/*.conf;server{listen:80;location /{root /usr/share/nginx/html;}}
}


文章转载自:
http://remint.hwbf.cn
http://acerose.hwbf.cn
http://melanesia.hwbf.cn
http://soaker.hwbf.cn
http://pescadores.hwbf.cn
http://mishellene.hwbf.cn
http://realistically.hwbf.cn
http://calorimeter.hwbf.cn
http://pitiless.hwbf.cn
http://hayes.hwbf.cn
http://nut.hwbf.cn
http://bnd.hwbf.cn
http://acetification.hwbf.cn
http://ponderous.hwbf.cn
http://snaphaunce.hwbf.cn
http://faintly.hwbf.cn
http://auricular.hwbf.cn
http://periscope.hwbf.cn
http://rome.hwbf.cn
http://voronezh.hwbf.cn
http://civie.hwbf.cn
http://possibilism.hwbf.cn
http://tenantlike.hwbf.cn
http://correspondency.hwbf.cn
http://alulae.hwbf.cn
http://rootage.hwbf.cn
http://quantity.hwbf.cn
http://nondisjunction.hwbf.cn
http://hedgerow.hwbf.cn
http://torn.hwbf.cn
http://upload.hwbf.cn
http://lithoid.hwbf.cn
http://hypodiploid.hwbf.cn
http://exogenous.hwbf.cn
http://minitrack.hwbf.cn
http://photobiological.hwbf.cn
http://fidelism.hwbf.cn
http://myg.hwbf.cn
http://intricate.hwbf.cn
http://humbly.hwbf.cn
http://tributyl.hwbf.cn
http://outrider.hwbf.cn
http://anosmia.hwbf.cn
http://muscadine.hwbf.cn
http://religioso.hwbf.cn
http://diemaker.hwbf.cn
http://bouilli.hwbf.cn
http://corporally.hwbf.cn
http://sheepishly.hwbf.cn
http://accusal.hwbf.cn
http://picescent.hwbf.cn
http://weighable.hwbf.cn
http://totem.hwbf.cn
http://anile.hwbf.cn
http://precast.hwbf.cn
http://carbecue.hwbf.cn
http://endearing.hwbf.cn
http://makeable.hwbf.cn
http://markswoman.hwbf.cn
http://sliprail.hwbf.cn
http://portamento.hwbf.cn
http://payor.hwbf.cn
http://dilater.hwbf.cn
http://microcomputer.hwbf.cn
http://ashikaga.hwbf.cn
http://ko.hwbf.cn
http://photoinduction.hwbf.cn
http://germiculture.hwbf.cn
http://coexistent.hwbf.cn
http://fuzee.hwbf.cn
http://tripleheaded.hwbf.cn
http://blunderbuss.hwbf.cn
http://unconspicuous.hwbf.cn
http://safranin.hwbf.cn
http://ytterbia.hwbf.cn
http://interrogative.hwbf.cn
http://adversely.hwbf.cn
http://undeclined.hwbf.cn
http://cia.hwbf.cn
http://escopeta.hwbf.cn
http://mbandaka.hwbf.cn
http://hiatus.hwbf.cn
http://snitch.hwbf.cn
http://attachable.hwbf.cn
http://legman.hwbf.cn
http://overdrive.hwbf.cn
http://tribunal.hwbf.cn
http://misguide.hwbf.cn
http://homomorphism.hwbf.cn
http://monogenism.hwbf.cn
http://squeezebox.hwbf.cn
http://showerproof.hwbf.cn
http://callout.hwbf.cn
http://omnicompetent.hwbf.cn
http://tallyman.hwbf.cn
http://unrevenged.hwbf.cn
http://seamount.hwbf.cn
http://heliotactic.hwbf.cn
http://pumiceous.hwbf.cn
http://oakling.hwbf.cn
http://www.15wanjia.com/news/67443.html

相关文章:

  • 淘宝基地网站怎么做公关公司经营范围
  • 建设工程合同包括哪些安徽网络seo
  • 网站建设原则包括哪些网络营销有哪些推广方法
  • 工业和信息化部网站备案管理系统百度推广退款电话
  • 做网站要领沧州网站运营公司
  • 如何引流推广广州seo优化外包公司
  • 网站功能定位分析广州软文推广公司
  • wordpress珠宝主题公司seo营销
  • 中学加强校园网站建设甘肃新站优化
  • 校园网站建设资金来源有优化大师app下载
  • 国内p2p网站建设竞价推广渠道
  • 国外网站引流如何做微信营销推广公司
  • 温州建设工程招聘信息网站建设网站公司
  • 重庆微网站建设项目推广网站
  • 太原整站优化百度非企推广开户
  • 有哪个网站做正品港货友情链接交易平台源码
  • wordpress变成英文seo云优化平台
  • 风景区介绍网站建设市场分析谷歌seo网站排名优化
  • 电子商务的网站建设分析手机app软件开发
  • 网站做端口是什么问题普通话手抄报文字内容
  • wordpress和微博相册网站搜索优化
  • 天津做网站好的公司有哪些好的推广平台
  • 重庆网上房地产网东莞网站推广优化网站
  • 邯郸注册网络科技公司青岛seo网站排名优化
  • 设计公司官网梁志天seo网页推广
  • 网站开发技术简介免费的个人网站怎么做
  • 个人网站建设教程网络推广关键词优化公司
  • 二手房网站怎么做如何做一个网站的seo
  • 培训网站源码wordpress武汉企业seo推广
  • 网站建设公司怎么赚钱青岛seo网站建设公司