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

Pretty url in nginx

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
WINTXCODERS
Posts: 1
Joined: Sun Feb 09, 2020 1:16 pm

Os: Ubuntu 17x
Web: nginx + php-fpm
Pretty url in nginx
  • Quote

Post by WINTXCODERS » Sun Feb 09, 2020 1:35 pm

Hi, I have a web server with nginx without vestacp in which in my sites-enabled / midomain.com folder I have the rules for my pretty url. Now I am migrating my server to vestacp but I don't know where I should put my nginx configuration
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Pretty url in nginx
  • Quote

Post by skamasle » Tue Feb 11, 2020 8:36 pm

Hi

Vesta have a include called if not remember bad nginx.vhost.conf or something like that, you can put your custom rules there or create your own template

But in your admin/ or any user dir, check your conf directory and nginx.conf for any website your may see there some include

Or in any case you can add your own include in any template in vesta or put your rules there and that make it persistent to vesta template rebuilds
Top


Post Reply
  • Print view

2 posts • 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
 

 

Login  •  Register

I forgot my password