File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ Set up HAProxy reverse proxy and load balancer
2
2
==============================================
3
3
4
4
Here you will install and configure HAProxy as a reverse proxy for your applications. With the provided configuration,
5
- it will only proxy requests from the client to NGINX. Any further customization depends on a project.
5
+ it will only proxy requests from the client to NGINX. An example configuration for handling Node.js applications is also
6
+ provided, but any further customization depends on the specific project.
6
7
7
8
1 Install
8
9
---------
@@ -70,12 +71,12 @@ Make sure to adapt the paths to certificate chain file on your system.
70
71
71
72
sudo port load haproxy
72
73
73
- This will also start the service automatically after a reboot.
74
+ That will also configure the service to start automatically after a reboot.
74
75
75
76
5 Test
76
77
------
77
78
78
- After setting up NGINX server, come back here and execute :
79
+ Execute on the command line :
79
80
80
81
.. code:: bash
81
82
@@ -107,7 +108,9 @@ Make sure the following lines are present:
107
108
6.1 If using macOS with MacPorts
108
109
~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
109
110
110
- If you want to see HAProxy logs, you will have to stop the HAProxy service and run it in foreground debug mode:
111
+ To see HAProxy logs on macOS, you need to stop the HAProxy service and run it
112
+ in the foreground with debug mode enabled. This way, logs will be displayed
113
+ directly in the terminal:
111
114
112
115
.. code:: bash
113
116
You can’t perform that action at this time.
0 commit comments