I'm struggling with Nginx configuration in DirectAdmin.
When I use the custom httpd config templates it does not save the changes, using template 2.
When I manually paste the following fix:
location / { try_files $uri $uri/ /index.php?q=$uri&$args; }
It works for a while but every day it gets lost.
It's really a nightmare because the fix is only valid for a day at most.
Can anyone point me out how to implement the fix so that I don't have to apply it every day?
Thank you in advance.
When I use the custom httpd config templates it does not save the changes, using template 2.
When I manually paste the following fix:
location / { try_files $uri $uri/ /index.php?q=$uri&$args; }
It works for a while but every day it gets lost.
It's really a nightmare because the fix is only valid for a day at most.
Can anyone point me out how to implement the fix so that I don't have to apply it every day?
Thank you in advance.