Nginx
文章平均质量分 79
angelo_gs
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Ubuntu 上 Nginx 报错 502 Bad Gateway
环境 OS: Ubuntu 18.04.4 nginx version: nginx/1.14.0 解决办法 修改 php-fpm 的配置,将 unix 套接字模式改成 tcp/ip 的方式。sudo vi /etc/php/7.2/fpm/pool.d/www.conf: ;listen = /run/php/php7.2-fpm.sock #给老子滚犊子 listen = 127.0.0.1:9000 同步修改 nginx conf 文件,sudo vi /etc/nginx/conf.d/原创 2020-07-21 00:44:26 · 3650 阅读 · 0 评论 -
systemctl 设置自定义服务管理(以nginx为例)
1.建立服务文件 文件路径 vim /usr/lib/systemd/system/nginx.service 文件内容 [Unit] Description=nginx - high performance web server After=network.target remote-fs.target nss-lookup.target [Service] Type=fo...原创 2018-07-21 00:31:58 · 464 阅读 · 0 评论 -
关于nginx.conf相关配置
1.首先,nginx.conf配置 # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: http://nginx.org/ru/docs/ user n...原创 2018-08-10 15:58:46 · 739 阅读 · 0 评论
分享