HTTP access protocol converted to HTTPS

Preface Recently, I plan to write an applet, and then go to the applet development platform to fill in the request legal domain name. I found that only https protocol is supported.So I try to convert HTTP to HTTPS. First, I want to talk about my configuration: Alicloud server Operating system: CentOS 7.4 64 bit Web server: Tomcat 9.+ Detailed ...

Posted by mjedman1 on Thu, 17 Oct 2019 00:12:30 -0700

Spring boot2 unit test

Introduce maven dependency powermock is introduced to solve the problem of static method mock. <dependency> <groupId>org.powermock</groupId> <artifactId>powermock-module-junit4</artifactId> <version>2.0.2</version> <scope>test</scope> </dependency> <dependency> ...

Posted by leeharvey09 on Tue, 15 Oct 2019 03:50:03 -0700

Linux System: Centos7 Environment Builds Redis Single and Cluster Environment

I. Environment and Version Linux: centos7 Three Linux Services 192.168.72.129 192.168.72.130 192.168.72.131 Redis: redis-4.0.14 Uploading Redis Software 1. Creating Software Catalogue [root@localhost local]# cd /usr/local/ [root@localhost local]# mkdir mysoft 2. Xftp upload software, decompression [root@localhost mysoft]# cd /usr/local/mysoft/ ...

Posted by matto on Thu, 10 Oct 2019 11:09:10 -0700

Some pits and knowledge collections of Vue and SprinBook development and maintenance

1. Perfectly Solve the Cross-domain Problem of Vue2.0+Axios Development and Production Environment Because bloggers mainly do back-end development and automated operation and maintenance, so the front-end is basically oriented to classmates and search engine programming.. This time, a simple and elegant cross-domain solution with Vue and Axios ...

Posted by buluk21 on Thu, 10 Oct 2019 05:17:27 -0700

Powerful! Nginx configuration on-line one-click generation of "artifacts"

Nginx, as a lightweight HTTP server, has obvious advantages over Apache. It occupies less resources in performance and can support more concurrent connections to improve access efficiency. It is a very excellent proxy server and load balancing server in function. It is easy to install and configure in installation. Many articles on Nginx deplo ...

Posted by EternalSorrow on Thu, 10 Oct 2019 02:16:19 -0700

Eureka Actual Warfare-5 [Enabling https]

The last one is mainly about opening http basic authentication. From a security point of view, based on base64 encoding, it is easy to be cracked after being caught, and it is very unsafe in the public network. This article discusses how to open https in eureka server and eureka client.   Public Dependent pom Files <parent> ...

Posted by LightningSt on Sat, 05 Oct 2019 16:37:57 -0700

centos server on-line second django project method.

Aliyun Server Open Port 8001,9001 Create a virtual environment virtualenv -p python3 web2 Make Virtual Environment Effective source web2/bin/activate Installing django and uwsgi in virtual environment pip install django pip install uwsgi Create a django project django-admin.py startproject myweb2 Modify the settins.py ...

Posted by justin.nethers on Tue, 01 Oct 2019 23:34:19 -0700

ssl/tls encryption of Emqtt

After last week, it took two or three days this week to implement emqtt's ssl/tls encryption. The main process is still referred to: https://blog.csdn.net/a704397849/article/details/88885198#commentsedit At the last step, when subscribing to messages with mosquitto_sub, there are always problems: Contact the author of the reference article, ...

Posted by tomtimms on Tue, 01 Oct 2019 17:31:00 -0700

Description of main functions of Nginx

I. Providing Web Services Nginx itself is a server of static resources, and other dynamic resources are handed over to other programs by matching. server { listen 80 default_server; listen [::]:80 default_server; # SSL configuration # # listen 443 ssl default_server; # listen [::]:443 ssl default_server; # # Note: You should disable gz ...

Posted by binarylime on Mon, 30 Sep 2019 01:35:25 -0700

Rapid deployment of EMQ X clusters on Kubernetes through Helm

Provided through EMQ X Helm chart EMQ X can be easily deployed to Kubernetes Platform. Before you start, make sure you follow Helm Document Guide To install Helm. On Kubernetes Kubernetes is a widely used open source container orchestration platform for automatic deployment, expansion and operation of applications. With Kubernetes, it can quick ...

Posted by axm on Mon, 23 Sep 2019 23:53:56 -0700