This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
deb11:apache [2023/01/16 19:58] – [Proxy] Bernard Condrau | deb11:apache [2023/01/16 19:58] – [VirtualHost on the "proxy" server] Bernard Condrau | ||
---|---|---|---|
Line 168: | Line 168: | ||
Follow the guide [[deb11: | Follow the guide [[deb11: | ||
- | ==== VirtualHost on the " | + | |
- | * sub.domain.tld: | + | |
- | * host.yourdomain.tld: | + | |
- | < | + | |
- | < | + | |
- | ServerName sub.domain.tld | + | |
- | Redirect 301 / https:// | + | |
- | < | + | |
- | < | + | |
- | ServerName sub.domain.tld | + | |
- | ServerAdmin you@domain.tld | + | |
- | DocumentRoot / | + | |
- | + | ||
- | SSLEngine on | + | |
- | RedirectMatch ^/$ /yourapp/ # use this if backuppc is not the default app, or if you need to access another app on the same server | + | |
- | + | ||
- | < | + | |
- | ProxyPass " | + | |
- | ProxyPassReverse " | + | |
- | Require all granted | + | |
- | </ | + | |
- | + | ||
- | # add other options such as Files and Directory permissions | + | |
- | + | ||
- | Include / | + | |
- | SSLCertificateFile / | + | |
- | SSLCertificateKeyFile / | + | |
- | </ | + | |
- | </ | + | |
- | ==== Links ==== | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
- | * [[https:// | + | |
===== Links ===== | ===== Links ===== | ||
* [[https:// | * [[https:// |