usdservices.in
New member
- Joined
- Feb 18, 2023
- Messages
- 2
Hi,
We are using nginx and once we load php portals, it needs .php search/locator. somehow if we keep that manually, its getting overwritten next time we do genetate confs.. so its messing up customer portals badly.
Please, guide if directadmin can provide support to nginx for php portals ? and how I can customize nginx.conf (if directadmin is not automatically supporting .php browsing) so that it will not get overwritten once we generate conf next time..
We need actually this :-
=============
location / {
# This is cool because no php is touched for static content.
# include the "?$args" part so non-default permalinks doesn't break when using query string
try_files $uri $uri/ /index.php?$args;
}
==============
but directadmin is not having any way to add this automatically for php files and hence once we update manually, it actually overwrites this tag and making websites showing 404 for any php call..
Please, suggest whats best course of action/ tip to get this resolved permanatly.
Thanks,..
We are using nginx and once we load php portals, it needs .php search/locator. somehow if we keep that manually, its getting overwritten next time we do genetate confs.. so its messing up customer portals badly.
Please, guide if directadmin can provide support to nginx for php portals ? and how I can customize nginx.conf (if directadmin is not automatically supporting .php browsing) so that it will not get overwritten once we generate conf next time..
We need actually this :-
=============
location / {
# This is cool because no php is touched for static content.
# include the "?$args" part so non-default permalinks doesn't break when using query string
try_files $uri $uri/ /index.php?$args;
}
==============
but directadmin is not having any way to add this automatically for php files and hence once we update manually, it actually overwrites this tag and making websites showing 404 for any php call..
Please, suggest whats best course of action/ tip to get this resolved permanatly.
Thanks,..