Hi Ray, I'm currently unable to reproduce the problem with mayan-edms because I'm on the road and don't have access to a working LXC appliance. I'm trying to reproduce the problem by installing in a LXD v3 container, but some other issues have appeared that I need to solve first.
In reading this thread, I had a hunch that maybe the problem had to do with host headers but I don't know if mayan-edms checks them or not. I do know that several applications like Drupal, Wordpress, etc are now checking them to prevent cross-site scripting attacks. The default for TurnKey appliances is to set the hostname to the name of the appliance e.g. drupal8 and to include that name in a list of acceptable host headers. When using LXC, the hostname is changed to the container name e.g. dp01 and when nginx-proxy is used to assign a domain name e.g. www.<yourdomain.xxx>, both the container name and the domain name need to be added to the list of acceptable host headers. Currently we don't have a way to do this automatically and every application has a different method of configuration. Looks like I need to add another paragraph to the LXC documentation.
I see from reading ahead that you've found an alternative to Mayan-EDMS, so good luck with that.
Information is free, knowledge is acquired, but wisdom is earned.
Reproducing problem
Hi Ray, I'm currently unable to reproduce the problem with mayan-edms because I'm on the road and don't have access to a working LXC appliance. I'm trying to reproduce the problem by installing in a LXD v3 container, but some other issues have appeared that I need to solve first.
In reading this thread, I had a hunch that maybe the problem had to do with host headers but I don't know if mayan-edms checks them or not. I do know that several applications like Drupal, Wordpress, etc are now checking them to prevent cross-site scripting attacks. The default for TurnKey appliances is to set the hostname to the name of the appliance e.g. drupal8 and to include that name in a list of acceptable host headers. When using LXC, the hostname is changed to the container name e.g. dp01 and when nginx-proxy is used to assign a domain name e.g. www.<yourdomain.xxx>, both the container name and the domain name need to be added to the list of acceptable host headers. Currently we don't have a way to do this automatically and every application has a different method of configuration. Looks like I need to add another paragraph to the LXC documentation.
I see from reading ahead that you've found an alternative to Mayan-EDMS, so good luck with that.
Information is free, knowledge is acquired, but wisdom is earned.