haojianyun

welcom to my haojianyun.com

yaml 文件


version: '3'
networks:
nginxphp:

services:
nginx:
image: nginx:latest
container_name: nginx
volumes:
- ./data/conf:/etc/nginx/conf.d
- ./data/var/www:/var/www
ports:
- "80:80"
- "443:443"
depends_on:
- php-fpm
networks:
- nginxphp

php-fpm:
image: crunchgeek/php-fpm:7.3
container_name: php-fpm
volumes:
- ./data/var/www:/var/www
ports:
- "127.0.0.1:9000:9000"
networks:
- nginxphp

####

1月 19th, 2021

Posted In: Uncategorized

Leave a Comment

关闭 HTTPS / SSL for Virtualmin / Webmin Miniserv
  1. 登陆到服务器通过 ssh ,用 Telnet 或是 其他终端。
  2. 编辑服务器当中的下面的文档,通过vi 或是 nano:
    /etc/webmin/miniserv.conf

  1. 在miniserv.conf定位到下面的行,把ssl = 1 该成下面
ssl=0

  1. 保存miniserv.conf文件
  2. 停止然后重启Webmin
/etc/init.d/webmin restart

或者

service webmin restart

选择你可以用 http://你服务器IP:10000来访问了

参考:https://techjourney.net/disable-https-ssl-for-virtualmin-webmin-miniserv/

7月 29th, 2016

Posted In: computer knowledge(电脑知识)

Leave a Comment

Test post with my ipad

12月 17th, 2014

Posted In: Uncategorized

Leave a Comment

下面这三个域名一起出售,有意者联系:[email protected]

1.大富足

http://www.dafuzu.com 大富足
http://www.dafuzu.cn 大富足
http://www.dafuzu.com.cn 大富足

2.mallpie

http://www.mallpie.com  可做:shop.mallpie.com

3.zuzv

http://www.zuzv.com

4.xzut

http://xzut.com/   下载尤特

11月 21st, 2014

Posted In: Uncategorized

Leave a Comment

hi,everyone ,欢迎来的我的小博客,以后有什么的新的内容,我就把它发到这里吧。我是一名草根程序员,目前在北京打拼,唉,什么时候是个出头日呀。

现在越来越感觉到English的重要性,正在学英语。希望它会给我平凡的生活带来些乐趣。

每天重复一样的步骤,走一样的道路,日子已经过了三年了,在这个美丽的大城市。

9月 15th, 2014

Posted In: Uncategorized

2 Comments