unknownbody
New member
- Joined
- Aug 18, 2021
- Messages
- 2
I have a php script wich creates new user by DirectAdmin API and it works correclly.
There is an additional config that all users had to have in their nginx.conf:
after this edition when I create new User with API it cuased nginx restart! but it brokes rest of lines.
My question is: How can I set the above config lines in new user nginx conf (in creation proccess or before) without restarting nginx
There is an additional config that all users had to have in their nginx.conf:
So I edit the /usr/local/directadmin/data/templates/nginx_server.conf directlly and add that lines in it (I know about custome folder but the issue is same)location / { try_files $uri $uri/ /index.php?$query_string; }
after this edition when I create new User with API it cuased nginx restart! but it brokes rest of lines.
My question is: How can I set the above config lines in new user nginx conf (in creation proccess or before) without restarting nginx