Re: Redirect/Proxy questions
Frank Gingras <[email protected]> Sat, 16 Aug 2025 19:21:46 -0400
| Newsgroups | gmane.comp.apache.user |
|---|---|
| Message-ID | <CAOY50mvG3mF9dTWFEG5KE6SD8v_Dch2+djMpKKz5iNVVKhyu5A@mail.gmail.com> |
On Sat, Aug 16, 2025 at 6:41 PM Bret Stern <[email protected]> wrote: > Thanks for the suggestion. FYI, my actual domain is not sample.com, I was > just using it as an example. > > Can you double check that link you included, it's not working and I want > to see the link you refer to. > > Best, > > Bret > On 8/16/2025 1:22 PM, Daniel Ferradal Márquez wrote: > > > On 16/8/25 7:04, Bret Stern wrote: > > Have a site www.sample.com > > From within the site I want to a link a > subdomain to a nextcloud > server nc.sample.com on the local lan relative > to the primary www > apache > > server. > > > I can add another router with > a static ip, change dns for > nc.sample.com and link to the subdomain > using that ip, and serve > nextcloud that way. > > But I am wondering which > (Redirect or Proxy) methods would work, to > direct traffic to the > nc.sample.com. Or if it is good or bad > practice. > > Thanks for > suggestions > > Bret > -- > > Hello, > > To me it seems you want to set up a reverse proxy to yout nextcloud > server. If you set to proxy only specific paths it will eve make it more > secure, for example ProxyPass /nextcloud/ > https://subdomain-nexcloud.example.com/nextcloud/ > > --- > Daniel > Help at #httpd in Libera.chat > > The target, https://subdomain-nexcloud.example.com/nextcloud/, is an example here. Modify it to match your DNS.