We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如果按照教程走(没有写错路径),却在加载页面时出现403,则修改 /etc/nginx/nginx.conf中的user www-data;那一行为user <你在教程第3章创建的拥有sudo权限的用户名>;(不含括号)
/etc/nginx/nginx.conf
user www-data;
user <你在教程第3章创建的拥有sudo权限的用户名>;
简单来说这个配置文件这一行告诉Nginx以www-data身份运行Nginx并访问配置文件中的文件夹,这个身份很可能没有权限访问导致无法加载资源,因此要换成有权限的身份
www-data
花了2个小时在这上面....
参考来源
The text was updated successfully, but these errors were encountered:
确实如此. 我是一开始按照小小白文章建立服务器,过程中会建立www-data用户.如果直接照搬Xray-examples中的VLESS-TCP-XTLS-Vision/nginx.conf那么用户名不正确. 我觉得配置文件中应该注释一下.
Sorry, something went wrong.
可以直接 PR
f9df5ad
No branches or pull requests
如果按照教程走(没有写错路径),却在加载页面时出现403,则修改
/etc/nginx/nginx.conf
中的user www-data;
那一行为user <你在教程第3章创建的拥有sudo权限的用户名>;
(不含括号)简单来说这个配置文件这一行告诉Nginx以
www-data
身份运行Nginx并访问配置文件中的文件夹,这个身份很可能没有权限访问导致无法加载资源,因此要换成有权限的身份花了2个小时在这上面....
参考来源
The text was updated successfully, but these errors were encountered: