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 !!!

nginx as a reverse proxy to access Apache with mod harbour

Postby Otto » 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
Code: Select all  Expand view

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
********************************************************************
User avatar
Otto
 
Posts: 6005
Joined: Fri Oct 07, 2005 7:07 pm

Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 6 guests