Summary of usage of python requests

Summary of usage of python requests Requests is a very practical Python HTTP client library, which is often used when writing crawlers and testing server response data. It can be said that Requests fully meet the needs of today's network This article is all from official documents. http://docs.python-requests.org/en/master/ pip install req ...

Posted by xyn on Fri, 12 Jul 2019 19:07:35 -0700

Getting started with git -- other common commands (config, cherry-pick)

1. git config (self not verified on organized web) The git config configuration file used to configure git has three locations corresponding to different overrides. (1), /etc/gitconfig file: Include values that apply to all users and libraries of the system.If the parameter option'--system'is passed to git config, it will explicitly ...

Posted by HGeneAnthony on Sat, 06 Jul 2019 10:05:10 -0700

nginx Configuration Actual

http reverse proxy configuration Let's start with a small goal: to complete an http reverse proxy, regardless of the complexity of the configuration. The nginx.conf configuration file is as follows:Note: conf / nginx.conf is the default configuration file for nginx.You can also specify your profile using nginx-c #Running User #user s ...

Posted by imperium2335 on Mon, 24 Jun 2019 14:02:53 -0700

Nginx configures multiple HTTPS domain names

This article is synchronized with the personal Github blog: https://github.com/johnnian/Blog/issues/8 Welcome to leave a message. Recently, I've been playing the Wechat app. I have the following programs on hand: A Cloud Server: CentOS 7 Multiple primary domain names During the development and testing process, for some reasons, we want to mak ...

Posted by @sh on Mon, 17 Jun 2019 11:41:39 -0700

The source code compiles and updates nginx to the latest version, and starts nginx supporting http2 protocol module.

Recently, due to the migration of code on the company's vm, some problems have been encountered. One VM configures the https protocol. It was thought that after migrating the security certificate, nginx can be configurated. But after modifying the nginx configuration file, after executing the nginx-t command, the following error is reported: n ...

Posted by bigrollerdave on Sun, 16 Jun 2019 14:14:59 -0700

Linux Nginx installation and deployment

Linux Nginx installation and deployment 1. Introduction to Nginx Nginx official website: http://nginx.org/ Nginx is a high-performance HTTP and reverse proxy server, as well as an IMAP/POP3/SMTP server. The purpose of the initial development is to develop proxy email server roommate: Igor Sysoev. The source code conforms to BSD open source. ...

Posted by Grodo on Wed, 12 Jun 2019 11:29:14 -0700

Using OpenSSL to Build CA and Issue Certificates and Revoke Certificates

Experiments OpenSSL is a secure socket layer cryptographic library that includes key and certificate encapsulation management functions and SSL protocols, and provides a wealth of applications for testing or other purposes. OpenSSL is a suite of open source programs, which consists of three parts: first, libcryto, an encryption library with ...

Posted by lancia on Wed, 12 Jun 2019 11:15:40 -0700

ssl protocol and open source implementation of openssl

ssl protocol Secure Socket Layer: Secure Socket Layer, ssl is a set of security protocols, which are called by application layer. When http calls ssl protocol, it is called https. When ftp calls ssl protocol, it is called sftp. lls is a collection of protocols, including: Handshake protocol: including negotiating security parameters and pas ...

Posted by timclaason on Mon, 10 Jun 2019 17:02:40 -0700

Docker Warehouse Harbor Opens TLS Authentication

The company has been using harbor for a long time and has been using http protocol. Recently, it upgraded to version 1.1.2. By the way, it opens https, so record it. Get the installation package You can go to the official Github of the project. Release Publishing Address Download offline installation packages, or download online installation pa ...

Posted by scripterdx on Fri, 31 May 2019 18:05:39 -0700

HTTPS Principle and OKHTTP Support for HTTPS

HTTPS principle Let's first look at the definition, an introduction from wikipedia: HTTPS (also called HTTP over Transport Layer Security (TLS), HTTP over SSL, and HTTP Secure) is a communications protocol for secure communication over a computer network which is widely used on the Internet. HTTPS consists of communication over Hypertext Tran ...

Posted by comicrage on Fri, 31 May 2019 17:22:45 -0700