岁月无声-往事随风的博客首先有一个问题,为什么有些博客在写到启动nginx使用’sudo systemctl start nginx’命令,但是直接在xshell中使用这个命令,报错’Failed to start nginx.service: Unit not found.',为什么这个命令是没有运行成功...
DreamsComeTrue1的博客Nginx的location使用别名方式配置静态文件 官方root配置 Sets the root directory for requests. For example, with the following configuration location /i/ { root /data/w3; } The /data/w3/i/top.gif file ...