hosts:virtual_machines:web:userhomes_hosting
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
hosts:virtual_machines:web:userhomes_hosting [2025/02/09 17:53] – [What if I want to use a custom domain?] emily747 | hosts:virtual_machines:web:userhomes_hosting [2025/02/17 20:29] (current) – Say correct reverse proxies. Add a couple links merlin | ||
---|---|---|---|
Line 22: | Line 22: | ||
Further Note: wildcard domains aren't handled well by Caddy, so putting a wildcard domain will likely require extra configuration to make work. Roughly however, this should at least serve the site, albiet with a potentially broken SSL cert. \\ | Further Note: wildcard domains aren't handled well by Caddy, so putting a wildcard domain will likely require extra configuration to make work. Roughly however, this should at least serve the site, albiet with a potentially broken SSL cert. \\ | ||
- | 2. Go into the console (console.tardisproject.uk) and select " | + | 2. Go into the console ([[https://console.tardisproject.uk|console.tardisproject.uk]]) and select " |
3. Add a new proxy rule with the following settings. Note: You'll need to do this for each subdomain (which will usually be at least " | 3. Add a new proxy rule with the following settings. Note: You'll need to do this for each subdomain (which will usually be at least " | ||
Line 33: | Line 33: | ||
**Where to proxy to:** | **Where to proxy to:** | ||
- | Target IP: 192.168.0.14 (This is the internal IP address of the traefik server) \\ | + | Target IP: 192.168.0.14 (This is the internal IP address of [[hosts: |
- | Target Port: 8181 (This is the port traefik | + | Target Port: 8181 (This is the port where nginx is expecting traffic to come through on) \\ |
- | Does the target expect HTTPS? No (SSL termination is handled seperately by caddy) \\ | + | Does the target expect HTTPS? No (SSL termination is handled seperately by traefik) \\ |
**Advanced** | **Advanced** | ||
Line 41: | Line 41: | ||
Strip path prefix before sending to app? No \\ | Strip path prefix before sending to app? No \\ | ||
Redirect HTTP to HTTPS? Yes \\ | Redirect HTTP to HTTPS? Yes \\ | ||
- | Override the Host header: <your username> | + | Override the Host header: <your username> |
hosts/virtual_machines/web/userhomes_hosting.1739123637.txt.gz · Last modified: 2025/02/09 17:53 by emily747