Score:0

DirectAdmin Nginx Rewrite fix lost every day

jp flag

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?

djdomi avatar
za flag
Questions involving web hosting control panels are off-topic because they customize their systems so that standard system administration methods no longer apply. Some related topics may be asked on Webmasters
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.