Hello,
I use Directadmin with Nginx and PHP-FPM. I have some websites and there need different nginx configuration for pretty urls. When I write my changes directly to /usr/local/directadmin/data/users/user/nginx.conf and restart nginx all work OK. Problem is when I do any change in Directadmin - my file was overwritten..
I know about /usr/local/directadmin/data/templates/custom but i need different configuration for each domain - not one config which work well on all websites.
Anyone can help me with this problem? How do different nginx config for websites without restore default nginx template?
I use Directadmin with Nginx and PHP-FPM. I have some websites and there need different nginx configuration for pretty urls. When I write my changes directly to /usr/local/directadmin/data/users/user/nginx.conf and restart nginx all work OK. Problem is when I do any change in Directadmin - my file was overwritten..
I know about /usr/local/directadmin/data/templates/custom but i need different configuration for each domain - not one config which work well on all websites.
Anyone can help me with this problem? How do different nginx config for websites without restore default nginx template?