Who is the web server user in nginx?
I am trying to figure out who is the web server user when using nginx? In my nginx.conf file I have a line that says the following...
user nginx;
Does this mean that nginx is the web server user? Can I freely change this?
The user is simply nginx
as you found in the configuration file. (At least in the distros that I'm usually using, which is Fedora/RedHat/CentOS/Rocky Linux)
You should be able to change the user if you need to. But that has already been answered in these questions:
Changing the user that nginx worker processes run under (Ubuntu 12.04)
How do I change the NGINX user?