Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Auto rewrite url for any domain service Nginx Vesta CP

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
minhmien0904
Posts: 8
Joined: Mon Jun 19, 2017 3:28 am

Auto rewrite url for any domain service Nginx Vesta CP
  • Quote

Post by minhmien0904 » Wed Sep 26, 2018 4:22 am

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!
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password