Nginx
Nginx学习笔记
芒果_不是水果
这个作者很懒,什么都没留下…
展开
-
tar: Error opening archive: Failed to open ‘/Users/zwq/Library/Caches/Homebrew/downloads/990bc2c8843
问题使用 homebrew 安装Nginx出现以下错误:AntonyZhang:~ zwq$ brew install nginx==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/bottles/pcre-8.45.mojave.bottle.tar.gz==> Downloading from https://homebrew.bintray.com/bottles/pcre-8.45.mojav原创 2021-08-15 17:02:34 · 3619 阅读 · 0 评论 -
Mac下配置nginx域名转发
1. 修改hosts文件1.打开host文件:sudo vim hosts2.添加域名映射127.0.0.1 localhost255.255.255.255 broadcasthost::1 localhost# 添加本地域名映射127.0.0.1 www.lzl.com2.配置nginx虚拟主机默认首页,从JD官网下载了一个静态的html页面来测试。server { listen 80; #原创 2021-05-06 21:49:31 · 538 阅读 · 0 评论 -
Mac os安装nginx 使用homebrew无法下载安装包问题
问题场景:笔者使用Mac mojave 系统,通过homebrew 安装nginx。问题描述:安装nginx的命令如下:brew install nginx执行命令后如下错误:AntonyZhang:~ zwq$ brew install nginx==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/openssl%401.1-1.1.1k.mojave.bottle.tar.gz########原创 2021-05-05 18:47:16 · 4398 阅读 · 1 评论