240 发简信
IP属地:湖北
  • 使用Vault

    以前曾经介绍过关于KMS的用法,其中,提到了它的优点和用处,我们使用的场景有如下几点: 我们产品的环境的所有的配置都保存在git上(Config As Code?),所以相关...

  • mark down一个稍微完整的配置文件:
    worker_processes 4;

    events {
    use epoll;
    worker_connections 1024;
    }
    http {
    include mime.types;
    charset utf-8;
    default_type application/octet-stream;
    server_names_hash_bucket_size 128;
    proxy_headers_hash_bucket_size 128;
    proxy_headers_hash_max_size 768;
    server_tokens off;

    sendfile on;

    keepalive_timeout 65;

    gzip on;
    gzip_min_length 1k;
    gzip_buffers 4 8k;
    gzip_http_version 1.1;
    gzip_types text/plain application/x-javascript text/css application/xml application/javascript;

    upstream service01 {
    #sticky; #
    server 172.19.0.1:8080
    }

    server {
    listen 443 ssl;
    server_name domain.com;
    ssl_certificate /etc/letsencrypt/live/domain.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/domain.com/privkey.pem;

    location / {
    root /var/www;
    index index.jsp index.html index.htm index.php;
    }

    location /proxy/ {
    root /var/www;
    index index.jsp index.html index.htm index.php;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;

    proxy_pass http://service01/;
    }

    error_page 500 502 503 504 /50x.html;

    location = /50x.html {
    root /usr/share/nginx/html;
    }
    }

    server {
    listen 80;
    server_name domain.com;
    return 301 https://$server_name$request_uri;
    }
    }

    HTTPs setup - Certbot + Docker + Nginx

    Background: Let's Encrypt is a certificate authority that provides X.509 certificates f...

  • - ./nginx.conf:/etc/nginx/nginx.conf,强行覆盖nginx默认配置

    HTTPs setup - Certbot + Docker + Nginx

    Background: Let's Encrypt is a certificate authority that provides X.509 certificates f...

  • HTTPs setup - Certbot + Docker + Nginx

    Background: Let's Encrypt is a certificate authority that provides X.509 certificates f...

  • 也可以使用benyanke/taiga:4.0.3, 这个版本是比较新的开源版本
    但是使用这个版本后好像admin用户有问题,无法登陆,我尝试了基于原来的benhutchins/taiga镜像安装的数据和存储卷来仅仅修改image 和 version是可以成功的,只是有个小配置会导致create project失败,这个需要去admin管理界面修改project template的‘duedates’,可以直接修改为{},或者参考git项目中的sample去修改。亲测可用,UI也比以前漂亮了一些

    Taiga Setup using Docker-compose

    Taiga简要介绍 Taiga是一款免费开源项目管理系统,比较适用于中小型敏捷项目管理,支持Scrum和kanban两种board 模板来跟踪项目的进度,同时还提供了丰富的第...

  • 120
    UIPath invoke python method

    uipath是不错的RPA(Robotic Process Automation) 工具和平台,并且有开源社区版本可以方便RPA爱好者去尝试,本文是介绍如何在UIPath下调...

  • Taiga Setup using Docker-compose

    Taiga简要介绍 Taiga是一款免费开源项目管理系统,比较适用于中小型敏捷项目管理,支持Scrum和kanban两种board 模板来跟踪项目的进度,同时还提供了丰富的第...

个人介绍
Fight for 2019 - new year, new beginning