2021-09-16 docker + nginx reverse proxy http and tcp

Note: considering the strong portability of docker, this running environment is based on docker. If your nginx is directly installed in the host, the path is different from that inside the container, and you can only refer to the content of the configuration file Test environment: Operating system: centos 7.9 (GUI desktop version and min ...

Posted by brockie99 on Sat, 25 Sep 2021 17:03:13 -0700

Internet of things training notes_ Network programming

Internet of things training notes_ Network programming Basic concepts of network programming: 1. Computer network A computer network is a collection of interconnected independent computers, The simplest form of network consists of two computers. 2. Network communication IP address: 1. Each host in the IP network must have a unique IP a ...

Posted by kid_drew on Fri, 24 Sep 2021 16:46:28 -0700

Solutions to cross domain and cross domain problems

Cross domain What is cross domain? Cross domain, that is, non homologous policy requests. This means that the browser cannot execute scripts from other websites. It is caused by the browser's homology policy and is a security restriction imposed by the browser. The so-called homology means that the domain name, protocol and port are the same ...

Posted by aragon1337 on Mon, 20 Sep 2021 21:49:55 -0700

HttpClient introduction and simple use process

1.HttpClient All calls between services in spring cloud use HttpClient. In addition, HttpClient is encapsulated in SolrJ. When calling the saveBean method of SolrTemplate, HttpClient technology is called. At present, the exposed interface of most projects is Http request, and the data format is JSON format, but webService is still used in som ...

Posted by paulg on Mon, 20 Sep 2021 02:33:50 -0700

Huawei experiment ppp certification

Experimental principle The reason why PPP protocol has become a more extensive protocol in Wan is that it provides CHAP,PAP and other verification protocols to better ensure the security of the network PAP is two handshake authentication. The user name and secret are repeatedly sent to the authenticator on the link until the authentication pas ...

Posted by gordo2dope on Fri, 17 Sep 2021 18:57:14 -0700

HTTP request in Blazor WebAssembly application

In my previous article HTTP request in Blazor Server application, I introduced the related technologies of HTTP request in Blazor Server application. In Blazor Server App, you can access all. NET class libraries and components. However, if you create a Blazor WebAssembly application, your code will run in the browser sandbox of the client, an ...

Posted by pragma on Fri, 10 Sep 2021 19:17:05 -0700

OkHttp3 source code, detailed cache strategy, worship

//If the current cache does not meet the requirements, close it if (cacheCandidate != null && cacheResponse == null) { closeQuietly(cacheCandidate.body()); // The cache candidate wasn't applicable. Close it. } // If the network cannot be used and there is no qualified cache, a 504 error will be thrown directly if (networkReques ...

Posted by ozman26 on Mon, 06 Sep 2021 14:08:08 -0700

Crazy SpringCloud Notes 05 (Hystrix and Zuul and Config)

8. Hystrix: service is broken Problems with Distributed Systems Applications in a complex distributed architecture have dozens of dependencies, each of which will inevitably fail at some point! 8.1 Service Avalanches When invoking between multiple micro-services, assume that micro-service A invokes micro-service B and micro-service C, ...

Posted by auro on Thu, 02 Sep 2021 15:30:25 -0700