Skip to content
New issue

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

nginx常用命令 #32

Open
shangguanhonglei opened this issue May 3, 2021 · 0 comments
Open

nginx常用命令 #32

shangguanhonglei opened this issue May 3, 2021 · 0 comments

Comments

@shangguanhonglei
Copy link
Owner

nginx常用命令

命令 说明
vi+filename 编辑某个文件
more+filename 查看某个文件
:wq! 保存当前修改的文件并推出
:q! 不保存推出
whereis nginx 查找nginx配置文件
nginx配置文件 /etc/nginx/conf.d
service nginx restart 重启nginx服务
service php-fpm restart 重启php
/etc/init.d/php-fpm restart 重启php
rm -rm 文件路径/文件名称 删除文件
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant