Wechat applet - complete the payment function of the applet
Recently, we have developed small programs, and we have been looking at the payment of small programs. After a day's hard work, the applet payment function is finally realized.
Thanks to csdn blogger: the "little program and php to realize wechat payment" released by Qiandui xuegedust
Original address:
http:/ ...
Posted by ltoto on Fri, 03 Apr 2020 08:32:08 -0700
redis-4.0.2 cluster building
Cluster building environment, one Centos7 virtual machine (192.168.217.128), six redis nodes redis-4.0.2
Install redis: follow the steps on the official website, and we won't talk about it here. Enclosed address https://redis.io/download,
Note that there may be errors (redis tarError) during the installation process. ...
Posted by ndorfnz on Thu, 02 Apr 2020 06:30:40 -0700
Nginx access log, log cutting, static file not logging and expiration time of LNMP schema (3)
1. Nginx access log
1.1 log format
[root@host ~]# vim /usr/local/nginx/conf/nginx.conf / / search for log \
... ...
log_format combined_realip '$remote_addr $http_x_forwarded_for [$time_local]'
' $host "$request_uri" $status'
' "$http_referer" "$http_user_agent"';
#Combined? Realip is the log name
# The contents of the log are followed ...
Posted by balkan7 on Wed, 01 Apr 2020 22:57:44 -0700
Automatic deployment tool syncd
1, Deployment installation
(1) Common installation methods
1. curl https://syncd.cc/install.sh | bash
2. dockerfile installation mode is under test
(2) Installation references
1.https://syncd.cc/docs/#/install
2.https: //github.com/dreamans/syncd
3.https: //gitee.com/dreamans/syncd
2, Specification for use
(I) service address
1. ...
Posted by Psycho on Wed, 01 Apr 2020 19:49:38 -0700
keepalived+nginx reverse agent load balancing configuration
Catalog
1. Description of components to realize Nginx load balancing
2 preparation of nginx load balancing experimental environment
3. Nginx reverse agent load balancing installation
4 maintained + nginx to realize the load balance between the active and the standby
1. Description of components to realize Ngin ...
Posted by NoSalt on Wed, 01 Apr 2020 17:31:34 -0700
Using RESTFUL interface of CAS to log CS system into BS system
Get ready
First, refer to the previous article to configure CAS and RESTFUL. Refer to:
http://blog.csdn.net/happyteafriends/article/details/7450120
The scenario is as follows,
CAS address: http://10.1.81.223:8080/cas-server-webapp
Two WEB application addresses: http://10.1.81.223:8080/webapp2
http://10.1.81.223:8080/webapp1
Objectiv ...
Posted by royalsolo on Tue, 31 Mar 2020 13:00:56 -0700
Configure expiration time for static elements
Configure static element expiration time
The browser will cache static files (pictures, CSS, JS) in the computer by default when visiting the website. So the next time you visit, you don't have to download remotely. How long is the cache? The browser will have its own mechanism to clear the cache. Or it can be set on the remote ...
Posted by jamiel on Mon, 30 Mar 2020 23:46:01 -0700
Changing Apache to run php in fastcgi mode under windows
Recently, we are using the Phalcon 3.3 framework, the local environment is wampserver, and php7.0 is selected. It is found in the project that using curl to request other interfaces of the project or other interfaces of the project report errors. If you switch to php5.6, you can request normally. After trying many methods, you ...
Posted by boinnk on Thu, 26 Mar 2020 09:07:55 -0700
Message Queue NSQ with You to Get Started
I've seen NSQ before and haven't seen it yet.Just when I have time today, I set up a simple try to get the message queue NSQ in this Go Language, which I'll briefly record here.
In fact, NSQ is used relatively little in China. I think I know such a thing here. Just look at the source code a little and learn something.
Introduction to NSQ
NSQ i ...
Posted by CentralOGN on Sun, 22 Mar 2020 10:30:03 -0700
Click [elastic search] to query and delete the "delete by" of the matching document
Idea: query and confirm first, then delete accurately
If I want to delete the record with the title "Xiao Ming really doesn't work overtime tonight", first check the existing record:
Isn't it good not to work overtime? Why delete? )
tips: you can use match_phrase to query accurately. The query command can be queried by curl or by o ...
Posted by DiscoTrio on Sat, 21 Mar 2020 09:54:29 -0700