Page 1 of 1

admin user in console and .htaccess auto with NGINX

Posted: Thu Jan 07, 2016 1:51 pm
by spell
Hello.

Could you please suggest a correct way of working with user admin in console? Admin has a dummy /sbin/nologin shell in /etc/passwd I may change it to /bin/bash but i am not sure it's right choice.
I often need to make manual changes in /home/admin/web/* dir while working on my sites since i am the owner of VPS.

Another question is any possibility to use instructions in .htaccess file automatically if Vesta is in Web Template NGINX mode? There are choices like WP, Drupal etc. However what if it's some other script.

Re: admin user in console and .htaccess auto with NGINX

Posted: Tue Jan 12, 2016 10:22 am
by skurudo
spell wrote:Could you please suggest a correct way of working with user admin in console? Admin has a dummy /sbin/nologin shell in /etc/passwd I may change it to /bin/bash but i am not sure it's right choice.
I often need to make manual changes in /home/admin/web/* dir while working on my sites since i am the owner of VPS.
Something like this:
admin - only to manage users
users - all other users with sites
spell wrote:Another question is any possibility to use instructions in .htaccess file automatically if Vesta is in Web Template NGINX mode? There are choices like WP, Drupal etc. However what if it's some other script.
There no such feature yet.
When you install nginx+php5-fpm there is some ready conf files.