you explained it exactly. But i've posted my directive already. If i would know 
what to do know with my nginx config, i wouldn't ask here. πŸ™‚

________________________________
From: Michael Stowe <michael.st...@member.mensa.org>
Sent: Wednesday, April 17, 2019 2:57 PM
To: General list for user discussion, questions and support
Cc: Mathew Perry
Subject: Re: [BackupPC-users] Fwd: Re: backuppc behind nginx which is on 
another host


On 2019-04-16 05:39, Mathew Perry wrote:

it does without nginx internally (direct access of the backuppc host via 
http:\<http:%5C>\internalname or ip:port

but through nginx neither internally nor externally (split dns

running – same domain name – fyi) backuppc isn't accessible.

-------------------------

FROM: Michael Stowe <michael.st...@member.mensa.org> SENT: Tuesday, April 16, 
2019 4:40 AM TO: General list for user discussion, questions and support CC: 
Mathew Perry SUBJECT: Re: [BackupPC-users] Fwd: Re: backuppc behind nginx which 
is on another host

On 2019-04-16 01:23, Mathew Perry wrote:

Hi Michael

the example was from local LAN. backuppc is running and working and

nginx runs with a lot other services behind it.

I'm not that new to nginx, more a β€œnew” user to backuppc. normally the 
directive /pathto/ needs a change in the base url of

some web services behind nginx. This β€œcould” help sometimes.

I do not know where to change the base url in the backuppc server

Regards

Matt

Hang on β€” if the local UI doesn't work, it won't work through a reverse proxy. 
So if BackupPC is on Server β€œA” and nginx is on Server β€œB”, Server β€œA” really 
needs to be serving up the UI first.

Sorry for the top-posting/non-top-posting combination; I know it can make a 
thread hard to follow.

At any rate, it's best to work through step-by-step. A straightforward 
reverse-proxy shouldn't need any changes to the base URL of the host service 
unless you're trying to move it up in the hierarchy. (If so, that's a whole 
different set of issues to contend with. One of the ways to solve this problem 
is to change the hierarchy in the host server, but this usually isn't 
necessary.)

Assuming the host server is working, if you're having problems navigating 
between pages, then the issue is that your transparent rewrite rules aren't set 
up properly. Another way to solve this is to make the server think it's 
actually part of the nginx server (I believe this is what you mean when you're 
talking about the base URL) but it doesn't work when the server dynamically 
self-references, and is generally a poor practice as it breaks the host server. 
If this is the case, you need to implement a transparent rewrite rule instead.


_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to