Auto rewrite url for any domain service Nginx Vesta CP
-
- Posts: 8
- Joined: Mon Jun 19, 2017 3:28 am
Auto rewrite url for any domain service Nginx Vesta CP
I'm install Vestap CP ussing Nginx web service. php-fpm, mysql 10, Cent OS 7.
I'm try rewrite for each domain below code:
location / {
try_files $uri $uri/ /index.php?$args;
}
It's OK.
But I want to do this one time for all domain. How to do this? Please help me!
Thanks all!
I'm try rewrite for each domain below code:
location / {
try_files $uri $uri/ /index.php?$args;
}
It's OK.
But I want to do this one time for all domain. How to do this? Please help me!
Thanks all!