I modified location in nginx config, now VestaCP gives internalerror 505?
Posted: Fri Oct 28, 2016 5:35 pm
I modified location / in vesta config for wordpress permalinks, it worked and now my permalinks are working. ( I used this tutorial http://nginxlibrary.com/wordpress-permalinks/ )
But it broke the vestacp , the login page doesn't load, when i go to the login page it says internal error and i can't do anything. Even if i revert what i did, it is not working )
First I accidentally first modified the location in the config file, /usr/local/vesta/nginx/conf/nginx.config
Which didnt work and i didnt back it up, which is like this right now,
location / {
try_files $uri $uri/ /index.php?$args;
}
if anyone has the original code please share with me.
And then i modified the right file which is in /home/admin/conf/web/nginx.config and permalinks started working.
But vestaCP is not working now.
What should i do?
But it broke the vestacp , the login page doesn't load, when i go to the login page it says internal error and i can't do anything. Even if i revert what i did, it is not working )
First I accidentally first modified the location in the config file, /usr/local/vesta/nginx/conf/nginx.config
Which didnt work and i didnt back it up, which is like this right now,
location / {
try_files $uri $uri/ /index.php?$args;
}
if anyone has the original code please share with me.
And then i modified the right file which is in /home/admin/conf/web/nginx.config and permalinks started working.
But vestaCP is not working now.
What should i do?