{ email admin@898998.xyz } 898998.xyz { encode gzip log { output file /var/log/caddy/898998.xyz.log } @rclone-webui { path /rclone /rclone/* } handle @rclone-webui { reverse_proxy localhost:5572 } handle_path /company/* { root * /root/export_home_appliance/www file_server browse } handle_path /company { rewrite * /index.html root * /root/export_home_appliance/www file_server browse } handle_path /resume/* { root * /root/export_sales_resume/www file_server browse } handle_path /resume { rewrite * /index.html root * /root/export_sales_resume/www file_server browse } handle /homeforcat { uri strip_prefix /homeforcat reverse_proxy localhost:19000 } handle /homeforcat/* { uri strip_prefix /homeforcat reverse_proxy localhost:19000 } handle_path /b2c/* { root * /www/b2c file_server browse } handle_path /b2c { rewrite * /index.html root * /www/b2c file_server browse } handle_path /findash/* { root * /var/www/findash file_server browse } handle_path /findash { rewrite * /index.html root * /var/www/findash file_server browse } handle_path /downloads/* { root * /var/www/downloads file_server browse } handle_path /blog/* { root * /var/www/blog file_server browse } handle_path /blog { rewrite * /index.html root * /root/blog file_server browse } @public_pdf { path /codex_*.pdf } handle @public_pdf { root * /var/www/blog file_server } handle /download* { uri strip_prefix /download reverse_proxy 127.0.0.1:5580 } handle /* { try_files {path} /index.html file_server browse } }