docker file storage path, get container start command

How to get start command of container The container has already been created. How to know its startup parameters (where to mount the data) #Suppose you start a container with the following command docker run -d --name mysql\ -p 3306:3306\ -e MYSQL_ROOT_PASSWORD=123456\ --restart=always\ mysql:5.5 --character-set-server=utf8 #How to kno ...

Added by fractalvibes on Mon, 13 Apr 2020 17:37:02 +0300

Adjust parameters to hide the information number of Nginx software version

Reference material [1] . learn Linux operation and maintenance from the old boy: Web Cluster practice, old boy setup script View native information [root@www ~]# curl -I 127.0.0.1 server_tokens In the http tag section of Nginx configuration file nginx.conf, add the parameter "server" tokens off http ...

Added by bschultz on Sun, 05 Apr 2020 19:50:47 +0300

EMQ2.3 enable wss, map and remove port number

mqtt protocol has been used to control intelligent devices on WeChat official account, but the new requirement is to run on small programs. Applet requirements: 1. HTTPS is required for the interface, SSL1.2 or above, 2. ws needs to be modified to WSS, which cannot be followed by port number. It took some time to solve and ...

Added by JoeBuntu on Sun, 05 Apr 2020 14:08:13 +0300

Nginx limits IP access, access rate, maximum concurrent number and download bandwidth

nginx forbids ip direct access Method 1, ban #If other people visit your website through ip or unknown domain name, you want to disable any valid content, you can return 500 to them server { listen 80 default; server_name _; return 500; } #Open the configuration of one or more real domain nam ...

Added by master82 on Sun, 05 Apr 2020 06:02:19 +0300

The whole process of building php7 and nginx running environment with docker

Since we used to use docker image to enter the container and use yum to install nginx or php, we found that the whole image is larger and faster by 2G. Large documents will affect the environmental shift value, and there is no technical content. Today, I found a sub environment installation on the Internet to separate nginx and php into two ima ...

Added by luxe on Fri, 03 Apr 2020 12:00:19 +0300

linux introduction series 20 -- LNMP architecture practice of Web Services

As the last article in this introductory series, we will demonstrate how to build a LNMP environment to build a personal blog site in the CentOS7 environment. The common ways to build a website are LAMP, LNMP, IIS, Nginx, Tomcat, etc. This paper demonstrates the more popular way to build a dynamic WEB site based on LNMP. As mentioned in "L ...

Added by naturalbeauty7 on Thu, 02 Apr 2020 02:03:03 +0300

Configure HTTPS certificate logging

Configure HTTPS certificate records for the official website, the first time Of course, it should be recorded. This is the new official website themis official website Don't talk too much. Get to the point 1) detours After checking the configured nginx root certificate and secret key, https can be accessed normally ├── C ...

Added by turdferguson on Wed, 01 Apr 2020 17:01:47 +0300

Using nginx for acceleration

Using nginx for acceleration nginx is generally used as a reverse proxy server. And can proxy to any accessible node. For example, we found that for a restful api website, the domestic access speed is not good. We can use nginx on an overseas node to accelerate. First install nginx, and then modify nginx.conf as follows: us ...

Added by paradigmapc on Mon, 30 Mar 2020 23:12:29 +0300

The solution of canvas.toDataURL() error reporting is all here

Error reporting details Uncaught DOMException: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported. Key word canvas.toDataURL() crossOrigin Access-Control-Allow-Origin Preface Recently, I am making a creative image synthesis tool, which is to generate a product image by splicing customized text and image ...

Added by mckooter on Sun, 29 Mar 2020 15:54:49 +0300

Service discovery plug-in in k8s CoreDNS

The default service discovery in k8s is to automatically associate the service name to the clusterIP through dns Deploy the resource configuration list HTTP service in k8s: On the hdss7-200 host, configure a nginx virtual host to provide a unified resource configuration list access portal for the k8s intranet: [root@hdss7-200 conf.d]# cat k8s- ...

Added by WinnieThePujols on Sat, 28 Mar 2020 18:10:12 +0200