Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Homebrew & nginx
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Raz0rEdge" data-source="post: 1886368" data-attributes="member: 110816"><p>[CODE]</p><p>$ brew --version</p><p>Homebrew 3.2.0</p><p>Homebrew/homebrew-core (git revision ade0af1c9d; last commit 2021-06-30)</p><p>Homebrew/homebrew-cask (git revision 182b6a54ce; last commit 2021-06-30)</p><p></p><p>$ brew install nginx</p><p>==> Downloading https://ghcr.io/v2/homebrew/core/nginx/manifests/1.21.0</p><p>######################################################################## 100.0%</p><p>==> Downloading https://ghcr.io/v2/homebrew/core/nginx/blobs/sha256:d4d16dc1e0c696d0e30a3a636c39528276c5a967a09a0e4be29a813cc01aa3f5</p><p>==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:d4d16dc1e0c696d0e30a3a636c39528276c5a967a09a0e4be29a813cc01aa3f5?se=2021-06-30T11%3A50%3A00Z&sig=oS%2BIBxPiugJoMHQAh7694AG%2BlEt%2BowGiYjAwyD249lk%3D&sp=r&spr=https&sr=b&sv=2019-12-12</p><p>######################################################################## 100.0%</p><p>==> Pouring nginx--1.21.0.big_sur.bottle.tar.gz</p><p>==> Caveats</p><p>Docroot is: /usr/local/var/www</p><p></p><p>The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that</p><p>nginx can run without sudo.</p><p></p><p>nginx will load all files in /usr/local/etc/nginx/servers/.</p><p></p><p>To have launchd start nginx now and restart at login:</p><p> brew services start nginx</p><p>Or, if you don't want/need a background service you can just run:</p><p> nginx</p><p>==> Summary</p><p>🍺 /usr/local/Cellar/nginx/1.21.0: 25 files, 2.2MB</p><p></p><p> $ brew services start nginx</p><p>==> Successfully started `nginx` (label: homebrew.mxcl.nginx)</p><p></p><p>$ brew services stop nginx</p><p>Stopping `nginx`... (might take a while)</p><p>==> Successfully stopped `nginx` (label: homebrew.mxcl.nginx)</p><p>[/CODE]</p><p></p><p>Just went through the process and didn't have any issues. Ensure that your Brew version matches what I have. I didn't configure Nginx, so you might want to confirm a vanilla installation/configuration works before changing anything.</p></blockquote><p></p>
[QUOTE="Raz0rEdge, post: 1886368, member: 110816"] [CODE] $ brew --version Homebrew 3.2.0 Homebrew/homebrew-core (git revision ade0af1c9d; last commit 2021-06-30) Homebrew/homebrew-cask (git revision 182b6a54ce; last commit 2021-06-30) $ brew install nginx ==> Downloading https://ghcr.io/v2/homebrew/core/nginx/manifests/1.21.0 ######################################################################## 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/nginx/blobs/sha256:d4d16dc1e0c696d0e30a3a636c39528276c5a967a09a0e4be29a813cc01aa3f5 ==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:d4d16dc1e0c696d0e30a3a636c39528276c5a967a09a0e4be29a813cc01aa3f5?se=2021-06-30T11%3A50%3A00Z&sig=oS%2BIBxPiugJoMHQAh7694AG%2BlEt%2BowGiYjAwyD249lk%3D&sp=r&spr=https&sr=b&sv=2019-12-12 ######################################################################## 100.0% ==> Pouring nginx--1.21.0.big_sur.bottle.tar.gz ==> Caveats Docroot is: /usr/local/var/www The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that nginx can run without sudo. nginx will load all files in /usr/local/etc/nginx/servers/. To have launchd start nginx now and restart at login: brew services start nginx Or, if you don't want/need a background service you can just run: nginx ==> Summary 🍺 /usr/local/Cellar/nginx/1.21.0: 25 files, 2.2MB $ brew services start nginx ==> Successfully started `nginx` (label: homebrew.mxcl.nginx) $ brew services stop nginx Stopping `nginx`... (might take a while) ==> Successfully stopped `nginx` (label: homebrew.mxcl.nginx) [/CODE] Just went through the process and didn't have any issues. Ensure that your Brew version matches what I have. I didn't configure Nginx, so you might want to confirm a vanilla installation/configuration works before changing anything. [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Homebrew & nginx
Top