专注 K8S研究
发布时间:2018-08-20 23:46:31
Nginx配置文件:/etc/nginx/conf.d/*.conf常见的301跳转设置方法:一、if ($scheme = http ) { return 301 https://$host$request_uri;}二、server_name 8jieke.com ;rewrite ^(.*) https://8jieke.com$1 permanent三、if ($server_port = 80 ) { return 301 https://$host$request_uri;}.........【阅读全文】
发布时间:2018-08-09 13:08:28
[root@linux-node2 ~]# yum install -y nginx[root@linux-node2 ~]# vim /etc/nginx/nginx.conf location /nginx_status { &nb.........【阅读全文】
发布时间:2018-04-18 10:27:00
问题: docker push 10.107.103.236:5000/busyboxThe push refers to a repository [10.107.103.236:5000/busybox]0314be9edf00: Pushing [==================================================>] 1.146MB/1.146MBerror parsing HTTP 400 response body: invalid character '<' looking for beginning of va.........【阅读全文】
发布时间:2018-04-08 17:37:46
获取镜像例如$ docker pull ubuntuUsing default tag: latestlatest: Pulling from library/ubuntu43db9dbdcb30: Downloading 1.494 MB/49.33 MB2dc64e8f8d4f: Download complete670a583e1b50: Download complete43db9dbdcb30: Pull complete2dc64e8f8d4f: Pull complete670a583e1b50: Pull complete183b.........【阅读全文】