Getting started with nginx Progress Controller

What is Ingress? In the Kubernetes cluster, Ingress is a rule set that authorizes inbound connections to reach the cluster service, providing seven layers of load balancing capability. It can provide external accessible url, load balancing, SSL, name based virtual host, etc. for Ingress configuration. In short, Ingress says a set of rules that ...

Posted by Simplicity on Mon, 21 Oct 2019 02:37:14 -0700

Cross domain failover of nginx configuration

nginx configuration does not work across domains, as follows server { listen 80; server_name localhost; # Interface forwarding location /api/ { # Allow request address cross domain * as wildcard add_header 'Access-Control-Allow-Origin' '*'; # Set request method ...

Posted by dabigchz on Fri, 18 Oct 2019 11:40:20 -0700

Log rotate, a linux Log cutting tool

Log rotate is installed by default on Linux system, and the default configuration file is: /etc/logrotate.conf /etc/logrotate.d/ logrotate.conf: primary configuration file logrotate.d: to configure the relevant subsystem to isolate each application configuration (Nginx, PHP, Tomcat...) It is used to solve the problem that individual log files a ...

Posted by lordtrini on Fri, 18 Oct 2019 10:11:14 -0700

fastDFS introduction

FastDFS is an open-source lightweight distributed file system, which manages files. Its functions include file storage, file synchronization, file access (file upload, file download), etc. It solves the problems of mass storage and load balancing. FastDFS is especially suitable for online services with file as the carrier, multi picture, multi ...

Posted by janderson on Wed, 16 Oct 2019 19:57:20 -0700

014. Use docker compose to install the software

Create the docker compose basic directory mkdir -p /usr/local/docker 1. Install mysql Create mysql directory in / usr/local/docker / mkdir -p /usr/local/docker/mysql Write the docker-compose.yml file in / usr/local/docker/mysql directory Note: the vi editor can paste the content to the file with format by inputting set paste in command m ...

Posted by greengo on Wed, 16 Oct 2019 08:51:43 -0700

Spring Cloud Gateway, Swagger, Nginx Integration

Groups already configured in the test service configure gateway Adding dependencies to pom<dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> <scope>compile</scope> < ...

Posted by ca87 on Mon, 14 Oct 2019 12:18:57 -0700

lamp comprehensive small experiment

< font color = Red > No reprinting, no handling </font > Problems encountered: First, the browser can not open blog.jd.com: DNS has been configured, the ultimate reason: this graphical CentOS7 uses dncp to obtain ip, DNS also access the gateway; Solution: Fixed IP, set DNS manually, and confirm / etc/reslov.conf Two, NFS permissi ...

Posted by Cut on Mon, 14 Oct 2019 10:11:20 -0700

[Kubernetes Series] Part 6 Introduction to Ingress controller - nginx components

1. overview In the last article, we introduced how to install and deploy traefik components through helm. Besides traefik, we also mentioned that the commonly used ingress controller s include Nginx, HAProxy, Kong and so on. In this article, we introduced how to install and deploy Nginx-ingress. Only after accumulating the experience of using d ...

Posted by nocontrol on Mon, 14 Oct 2019 05:33:36 -0700

Deploying static websites (nginx) using docker

Article directory Create an interactive container that maps port 80 Install nginx Create static pages Modify nginx configuration file Run nginx Verify Web Site Access Create an interactive container that maps port 80 [root@localhost ~]# docker run -it -p 80 --name web centos /bin/bash Instal ...

Posted by richardw on Sun, 13 Oct 2019 14:37:29 -0700

Hand-in-hand teaching you to write a generic helm chart

[TOC] 1. Template introduction First, put the template link: https://github.com/ygqygq2/charts/tree/master/mod-chart This chart can be used as a general template for POD single image. All you need to do is replace the chart name with sed and modify README.md and NOTES.txt. Below, I will illustrate by copying this chart into an example-chart. [ ...

Posted by tecmeister on Sun, 13 Oct 2019 12:54:12 -0700