ade16a4be5a3e6fb3f2288df57528e997314a57e
Nginx MAC Setup.md
... | ... | @@ -1,10 +1,14 @@ |
1 | - |
|
2 | 1 | Install homebrew |
3 | 2 | |
4 | 3 | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
5 | 4 | |
6 | 5 | brew install nginx |
7 | 6 | |
7 | +brew services start nginx |
|
8 | + |
|
9 | +/opt/homebrew/etc/nginx/nginx.conf |
|
10 | +nginx will load all files in /opt/homebrew/etc/nginx/servers/ |
|
11 | + |
|
8 | 12 | ``` |
9 | 13 | server { |
10 | 14 | listen 80; |