mirror of
https://github.com/MSWS/Homelab.git
synced 2025-12-05 23:00:24 -08:00
7d07a1e700be0badfb3769362a0da440c1f4ead8
Update Caddyfile configurations for `*.code.msws.xyz` and clarify existing logic - Modify `*.code.msws.xyz` configuration: - Comment out the previous `reverse_proxy` setup. - Add `auto_https disable_redirects` (commented-out for reference). - Introduce a new `handle_path` block to redirect requests to `https://code.msws.xyz/proxy/...` with a 302 status. - Clarify port `:443` and `:80` logic: - Document redirection for `/resume` to a GitHub-hosted PDF resource. - Make existing `/s` and reverse proxy configurations to `https://msws.github.io` more explicit. [caddy/Caddyfile] Summary: - Updated the configuration for `*.code.msws.xyz`: - Commented out the previous `reverse_proxy` configuration. - Added a new configuration that disables HTTPS redirects via `auto_https disable_redirects` (commented-out block). - Introduced a new `handle_path` block to redirect requests to a specific URL structure (`https://code.msws.xyz/proxy/...`) with a 302 status. - No changes made to the reverse proxy configurations for other subdomains (e.g., `yt`, `music`, `watch`, `photos`). - Expanded the logic for port `:443` and `:80`: - Added a comment to clarify the redirection for `/resume` to a PDF resource hosted on GitHub. - Made existing configurations for `/s` and reverse proxy behavior to `https://msws.github.io` more explicit.
Homelab
This is the server-side configuration for my homelab setup.
Languages
JavaScript
41.3%
PHP
35.9%
CSS
17.1%
Twig
5.4%
Python
0.2%