Re: Redirect/Proxy questions
Daniel Ferradal Márquez <[email protected]> Sat, 16 Aug 2025 22:22:30 +0200
| Newsgroups | gmane.comp.apache.user |
|---|---|
| Organization | Apache Software Foundation |
| Message-ID | <[email protected]> |
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