23
SEP
CaddyV2 tips and examples (How to correctly get user's IP address after a reverse proxy)
Here are some tips when I am using CaddyV2 as a reverse proxy. Directly render HTML somedomain.aiursoft.com { respond / h1Welcome/h1 200 } Reverse proxy on certain address somedomain.aiursoft.com { reverse_proxy /admin http://v2ray:10000 { } } Permenant redirect git.aiursoft.com { redir https://git.aiursoft.cn{uri} permanent } Reversey proxy and add custom header …