The first change doesn't require any manual intervention since /srv/http/pages is now symlinked to /srv/http. The purpose of it is just to make paths shorter, that's all.
I have several reasons for the second change, even though it may have been a useful feature:
- Security: Some programs use those ports by default and you don't want to accidentally expose them to the internet. If you want to run a program on exozyme and view it on your own computer, use SSH port forwarding instead.
- There was some weird DNS resolution problem with that config so I made it only listen to IPv4, which can cause problems since some programs only bind to IPv6.
- If you want to expose a program to the internet, you must use a Unix socket or socat. This feature was useful as a quick-and-dirty option, but socat is also just one command and doesn't require much more effort.
I also changed the permission of the sockets to 0777.
Now it should be working.
srwxrwxrwx 1 xtex http 0 Sep 3 00:09 xtexblog.sock=
srwxrwxrwx 1 xtex http 0 Sep 3 00:09 xtexhome.sock=
Sorry for my mistakes
- xtexx.eu.org is moving from Vercel to exopages for better experience
and extensible (e.g. CSP)
The refactor is also in progress.
The source code can be found at https://codeberg.org/xtex/home.git
The server is deployed with podman with a low memory limitation.
btw, cache-handler sucks.
- blog.xtexx.eu.org is now handled by the same caddy instance for
xtexx.eu.org.
The main reason is that, there will be more and more complex rules in
the future. And I will implement more RFCs (e.g. RFC6415) for this domain.