SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
This is an error you are getting in your web browser with lemmy-ui? Do you know how to use the console of Firefox or Chrome to look at what API call that error is coming from?
Caddy as reverse proxy, but I left nginx
Could be related to your problem... as lemmy-ui doesn't seem to be talking to the API to get JSON responses. I suggest looking at your proxy logs at the instant you press submit on the form.
API error: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
e https://tw.arkadi.one/static/js/client.js:2
p https://tw.arkadi.one/static/js/client.js:2
C https://tw.arkadi.one/static/js/client.js:2
w https://tw.arkadi.one/static/js/client.js:2
y https://tw.arkadi.one/static/js/client.js:2
s https://tw.arkadi.one/static/js/client.js:2
These aren't really what you are looking for in the Firefox console. They tell you the line of code with the error, but not which page has the JSON missing itself.
I notice your server says Lemmy 0.18.0 - the current is 0.18.4 - any reason you are attempting an older version?
/api/v3/user/register
those are the kind of paths you are looking for that can't be reached and your proxy likely isn't forwarding correctly to the lemmy_server Rust app.