location / {
autoindex on;
}
chown -R www-data:www-data /var/www usermod -a -G www-data root
nano /etc/nginx/nginx.conf
#change the first line
user www-data;
nginx -s reload
2021-10-06 00:16:00
location / {
autoindex on;
}
chown -R www-data:www-data /var/www usermod -a -G www-data root
nano /etc/nginx/nginx.conf
#change the first line
user www-data;
nginx -s reload