This originally did not show as I had the /home/maposmatic/.ocitysmap.conf file to the www-data users home directory, but broke after setting up the server freshly from scratch.
Only the "paper_sizes" API method reads from the correct file given in Django project settings, "styles", "overlays" and "layouts" calls fail as they try to read from the current users home directory instead.
This originally did not show as I had the /home/maposmatic/.ocitysmap.conf file to the www-data users home directory, but broke after setting up the server freshly from scratch.
Only the "paper_sizes" API method reads from the correct file given in Django project settings, "styles", "overlays" and "layouts" calls fail as they try to read from the current users home directory instead.