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
  • 6 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.


  • I run opnsense, which has a long a storied history with pfsense and in my opinion is better, on a VM in proxmox.

    I have a cluster of three servers and I can live migrate the VMs around to do maintenance. It gets backed up to proxmox backup server so restoring from a bad upgrade, which I’ve never had happen, or severe experimentation, which happens frequently, is simple.

    It’s also one less device to power on, and pay for. My cluster is running regardless and every watt less helps keep my wife happy.

    I’ve never had any issues that I could attribute to it being run in a VM. It does my 1gbe fiber and a dozen vlans with no issues.