nginx_apache doesn't use custom templates

Itachi

Verified User
Joined
Aug 22, 2021
Messages
6
Hi,
I have installed DA on a new VM with webserver=nginx-apache and Varnish. I copied the following 4 templates to /usr/local/directadmin/data/templates/custom:
  • nginx_server.conf
  • nginx_server_secure.conf
  • nginx_server_sub.conf
  • nginx_server_secure_sub.conf
I changed the files, so the proxy_pass addresses port 6081 and did ./build rewrite_confs.
https://100001.onl/ https://1921681254.mx/
When I create a new customer and website, the newly created template isn't being used. In /usr/local/directadmin/data/users/<username>/nginx.conf it still uses port 8080 and port 8081 in stead of 6081. When I change the configuration manually and reload nginx the setup does work.
What can I do the make DA use the altered templates?

Thanks in advance!
 
Back
Top