nginx as a reverse proxy to access Apache with mod harbour

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
User avatar
Otto
Posts: 6403
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 21 times
Been thanked: 2 times
Contact:

nginx as a reverse proxy to access Apache with mod harbour

Post by Otto »

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

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;
    }
}
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
Post Reply