Docker builds RabbitMQ cluster Nginx+Keepalived high availability
Single nginx agent + mirror queue
Pull image
# Pull image
docker pull rabbitmq:3.8.7-management
# Create mount directory
mkdir -p /data/rabbitmqcluster/{rabbitmq01,rabbitmq02,rabbitmq03}
Create container
# first
docker run -d --hostname rabbitmq01 --restart=always --name rabbitmqCluster01 -v /data/rabbitmqcluster/rabbitmq01:/var/lib/r ...
Added by and1c on Mon, 01 Nov 2021 19:26:55 +0200
Open the status interface, how not erudite monitoring, rewrite, if
nginx
Open status interface
Enable status:
location /status {
stub_status on;
allow 172.16.0.0/16;
deny all;
}
Example:
[root@localhost ~]# vim /usr/local/nginx/conf/nginx.conf
......
#access_log logs/host.access.log main;
location / {
root html;
index index.html index.htm;
...
Added by greggustin on Fri, 29 Oct 2021 16:04:48 +0300
Smooth upgrade, location, access control
nginx
Smooth upgrade
1. Get the compilation parameter - V of the old version
[root@localhost ~]# nginx -V
nginx version: nginx/1.21.3
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
built with OpenSSL 1.0.2k-fips 26 Jan 2017
TLS SNI support enabled
configure arguments: --prefix=/usr/local/nginx --user=nginx --group=nginx --with-debug ...
Added by adamata on Fri, 29 Oct 2021 16:02:12 +0300
[WMCTF2021]Make PHP Great Again And Again
preface
It was also a Web topic in WMCTF2021 a long time ago. There was no clue at that time, and then it did not reappear. I learned a lot from president Zhao's blog this evening. This article just followed Zhao's blog for a wave of reproduction and recorded it, that's all.
Topic environment
The topic itself is given to the shell, but there ...
Added by CincoPistolero on Tue, 26 Oct 2021 18:25:42 +0300
linux system learning 04
First, complete sub task 3: configure and install nginx. It's smooth and successful at one time
Step 1: installation environment
Note: before installing these environments, you can check whether you have installed them. If you have, you don't need to install them again
rpm -qa | grep gcc
We can find that we have it now
If not:
1, gcc in ...
Added by zaki on Mon, 25 Oct 2021 08:03:18 +0300
Nginx event driven model (second understanding + the most complete in History)
The article is very long. It is recommended to collect it and read it slowly! Java high concurrency enthusiast community: Crazy maker circle Here are some valuable learning resources:
Free classic books: Java high concurrency core programming (Volume 1) Necessary for interview + necessary for large factory + necessary for salary increase Gan ...
Added by leoric1928 on Sat, 23 Oct 2021 09:29:49 +0300
Nginx learning notes
What is Nginx?
Nginx (engine x) is a high-performance HTTP and reverse proxy Web server. It also provides IMAP/POP3/SMTP services. Its characteristics are less memory and concurrent capability. In fact, Nginx's concurrent capability is better in the same type of Web server. Chinese mainland users use Baidu website: Baidu, Jingdong, Sina, NetEa ...
Added by foobar on Thu, 14 Oct 2021 05:40:03 +0300
Various optimizations and anti-theft chains necessary for the use of Nginux
preface
In the enterprise information application environment, the security and response speed of the server need to configure the response parameters according to the actual situation to achieve the optimal user experience. The default Nginx installation parameters can only provide the most basic services, and also need to reconcile the ...
Added by jacinthe on Mon, 11 Oct 2021 22:19:23 +0300
Install and configure Nginx in Linux Environment
Install and configure Nginx in Linux Environment
preface
It was the same project some time ago. Because the production environment was configured with nginx with domain name, it was found that the test environment had no domain name and was not installed after returning from the customer's site. Some problems were encountered during in ...
Added by Flukey on Sat, 09 Oct 2021 13:14:06 +0300
Spring cloud learning - Zuul detailed explanation (with code package)
preface
Previous: detailed explanation of Hystrix Zuul (Gateway) is very important and important in spring cloud. The role of zuul gateway is similar to that of nginx. Nginx can forward requests, and nginx manages the ip address of services. Clients only need to access the port of nginx, and which service to forward and access is forwarded ...
Added by ixos on Wed, 06 Oct 2021 16:40:53 +0300