04 2021 档案

摘要:server{listen 80;server_name localhost;location /test { root html; proxy_read_timeout 3600; index index.html index.html; proxy_set_header Host $host; 阅读全文
posted @ 2021-04-25 17:41 SimpleSmile 阅读(277) 评论(0) 推荐(0)
摘要:1.编写Dockerfile文件,vi Dockerfile #基本镜像 FROM centos #维护者信息 MAINTAINER zf #该命令将复制指定的 到容器中的 。 其中 可以是Dockerfile所在目录的一个相对路径;也可以是一个 URL;还可以是一个 tar 文件,复制进容器会自动 阅读全文
posted @ 2021-04-02 17:20 SimpleSmile 阅读(1219) 评论(0) 推荐(0)
摘要:进入到 /usr/lib/systemd/system 目录下,编辑文件 nginx.service 1.cd /usr/lib/systemd/system/ 2.vi nginx.service 3. [Unit] Description=The nginx HTTP and reverse p 阅读全文
posted @ 2021-04-01 18:35 SimpleSmile 阅读(1209) 评论(0) 推荐(0)