Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2015-07-20 08:38:17

rvandam
Member
Registered: 2015-07-20
Posts: 1

Nginx configuration on Directadmin

I had some trouble getting the back office working with Nginx on a Directadmin host.

Using this Nginx directive caused the server to show the source code:

location / {
           rewrite "^(.*)$" "/index.php?$1" last;
       }

Using this configuration worked fine:

location / {
    try_files $uri $uri/ /index.php?q=$uri&$args;
}

In Directadmin no further configuration is needed.

Just in case somebody runs into the same problem.

Offline

Board footer