Hello,
My name is Deep and I am new to nginx. I want to setup my web application to run under a different user /home/deep instead of /home/ubuntu. It work when website is run under /home/ubuntu. The changes done to /etc/nginx/nginx.conf was
user deep;
The original code at this line# was
user www-data;
When performing "service nginx start", nginx reports error under /var/log/nginx/error.log
2016/11/08 01:38:41 [emerg] 21216#0: unexpected "," in /etc/nginx/sites-enabled/dump.rdb:41
The contents of dump.rdb looks encrypted and are not readable when opened with vim. Hence, I have few queries to resolve this issue. Any help in this regards would be highly appreciated as I am blocked because of this.
Queries
1. What all things to be considered in order to configure nginx for a user different than default "ubuntu" user, in addition to setting /etc/nginx/nginx.conf?
2. How to anaylze dump.rdb? Are there any tools, utilities like gdb that can be installed on ubuntu machine with which dump.rdb can be viewed?
Thanks in advance.