Tag:nginx

  • nginx Multiple Load Balancing

    Time:2024-5-28

    I. Concepts Nginx load balancing is a widely used technique in distributed applications to improve application availability and performance, and to guarantee system stability and reliability by achieving balanced distribution of requests. Nginx load balancing is a technique for centralizing requests to multiple servers. Load balancing enables requests to be distributed across different servers, thus […]

  • How to proxy MySQL connection with Nginx and limit accessible IPs?

    Time:2023-10-23

    1. Preface Our production environments are basically deployed on cloud servers, such as application servers, MySQL servers and so on. If the MySQL server is directly exposed to the public network, there is a great risk, and the ports of the MySQL server are not open to the public in order to ensure data security. […]

  • Nginx implements port forwarding

    Time:2023-9-21

    Nginx implements port forwarding First we need to find theServer deploymentof the nginx configuration file nginx.conf: Find the following snippet to implement the configurationport forwarding # nginx proxy forwarding server { listen 80; server_name x.x.x.x; location / { proxy_set_header Host $host; proxy_pass http 8080; # When you access port 80 you can implement forwarding to […]