nginx as a reverse proxy to access Apache with mod harbour
Posted: Mon Aug 07, 2023 9:58 pm
I have installed nginx.
Hello friends,
I have changed the configuration.
I now use nginx as a reverse proxy to access Apache with mod harbour.
I can now access my programs through the Nginx server.
Best regards,
Otto
Hello friends,
I have changed the configuration.
I now use nginx as a reverse proxy to access Apache with mod harbour.
I can now access my programs through the Nginx server.
Best regards,
Otto
Code: Select all | Expand
server {
listen 80;
server_name localdomain.com;
location / {
proxy_pass http://apache_public_ip_or_domain;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}