会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Simple.Smile
Mr.zf
github:https://github.com/zhangfulv
博客园
首页
新随笔
联系
管理
订阅
04 2021 档案
nginx解决跨域问题
摘要: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)
将自己的tomcat打包成docker镜像
摘要:1.编写Dockerfile文件,vi Dockerfile #基本镜像 FROM centos #维护者信息 MAINTAINER zf #该命令将复制指定的 到容器中的 。 其中 可以是Dockerfile所在目录的一个相对路径;也可以是一个 URL;还可以是一个 tar 文件,复制进容器会自动
阅读全文
posted @
2021-04-02 17:20
SimpleSmile
阅读(1219)
评论(0)
推荐(0)
centos7 systemctl启动方式添加nginx.service服务
摘要:进入到 /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)
公告