In my nginx config, I have
location /gitea/ {
proxy_pass http://localhost:3000/;
}
However, when I visit http://mydomain/gitea/, the website does not render properly as seen below. However, it still works when I access gitea via port 3000.