hello i have ispconfig setup everything running with no issues but as seen in the perfect server debian squeeze 6.0 tutorial nginx has some extra configuration for each vhost and each domain to get phpmyadmin and squirrelmail to work(nginx returns 404 without them) i dont want to add this configuration for each vhost is there anyway to add it automatically(using a cron is an option but will have some delay) i was thinking of adding it in the nginx.conf file but im not sure if its going to work or not
To change all vhost config you would use a conf-custom template (find the template in /usr/local/ispconfig/server/conf/and copy to conf-custom, make your changes then resync websites).
i have copied nginx_apps.vhost.master then changed webmail and phpmyadmin lines and resynced didnt seem to change anything
well to be honest its a raspbian based in debian 10 by debian 6 i meant the tutorial its running ispconfig 3.2.4
That is the wrong template, is probably just nginx.vhost.master, but I'm not able to confirm at the moment.
Raspbian is not officially supported, and why not follow the guide for Debian 10? It's nginx_vhost.conf.master
its running on a raspberry pi so i chose the most optimized os and kernel i have added nginx_vhost.conf.master to conf-custom and added phpmyadmin and squirrelmail location blocks but still not accessible (when i type in webmail it will redirect to squirrelmail then a 502 bad gateway pops up same error for phpmyadmin bad permissions maybe?) update: changed owner of /usr/share/phpmyadmin and squirrelmail to www-data:www-data (user group) still no luck
Why use squirrelmail instead of apt install dovecot? I remember discussions on this forum about running ISPConfig on Raspberry Pi, and it worked. I would follow the Debian 10 Perfect Server Guide and expect to get a working system.
Don't do that; you said you had things working with only changes to the vhost config, so I'd stick with the nginx vhost template changes. What's different between what you had working, and what is now generated from your custom template?