I’ve been doing things the wrong way for a long time and now it’s time to pass my incompetence onto others.

  • 0 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: June 7th, 2023

help-circle







  • It won’t work well. Other instances make assumptions about paths as it’s standardized. For example they don’t store the full pictrs path, just the ID. It’s assumed the path is /pictrs/image. You would have to set 301 redirects. Other instances may link directly to your root uri when making links back to you. The api requests are also likely going to your root uri.

    The front end can do whatever you want. Just change the paths typescript files before you compile as those also use root urls.

    I have my instance setup to use a CDN and separate URL for all static content including pictrs. I have a script that modifies the front end while compiling to accomplish this. I use 301 redirects to fix all the assumed paths and requests from other instances.


  • Proxmox and shell scripts. I have everything automated from base install to updates.

    All the VMs are Debian which install with a custom seed file. Each VM has a config script that will completely setup all users, ip tables, software, mounts, etc. SSL certs are updated on one machine with acme.sh and then pushed out as necessary.

    One of these days I’ll get into docker but half the fun is making it all work. I need some time to properly set it up and learn how to configure it securely.