YunoHost-Apps / redirect_ynh

Redirection app for YunoHost
GNU Affero General Public License v3.0
43 stars 20 forks source link

Reverse proxy to be completely transparent #23

Closed klorydryk closed 4 years ago

klorydryk commented 4 years ago

I use this app for reverse proxy from firstdomain to secondomain on another local server with yunohost. I'm unable to connect to:

How to force it to send the complet request to the other server?

arthurlutz commented 4 years ago

Does the sencond server take into account some HTTP header to generate the correct URLs ?

klorydryk commented 4 years ago

I changed nothing on the nginx configuration of the second server. If I point the DMZ to this second server instead of the first one, everything works as expected. Should I modified something on the second server config?

arthurlutz commented 4 years ago

Do I understand correctly you have two yunohost installs and want to chain them one behind the other ?

klorydryk commented 4 years ago

you're right.