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

NGINX config changes rewriting Topic is solved

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
lionweb
Posts: 9
Joined: Fri Jul 07, 2017 3:48 pm

NGINX config changes rewriting
  • Quote

Post by lionweb » Wed Aug 22, 2018 10:16 am

Hello,

I have problems with the nginx configuration files located in /home/USER/conf/web/domain.ltd.nginx.ssl.conf. I needed to add several rows to these files for all my domains and it works well for a few weeks. But sometimes it happens that these changes will be removed by themselves. And it makes my site not working, so I add them again and usually it works for about 3 weeks.
Why is it happening and how can I prevent it?
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: NGINX config changes rewriting
  • Quote

Post by ScIT » Wed Aug 22, 2018 10:29 am

You should not edit this files, they will be overwritten by vestacp. If you need to have some special settings, create a own template in /usr/local/vesta/data/templates/web.
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