FG

How do I start nginx on port 80 at OS X login?

Fresh3 days ago
Mar 15, 202624850 views
Confidence Score0%
0%

Problem

I installed Nginx using homebrew and after completing the installation the following message was displayed: But I want Nginx, on port 80, running at login and I don't want to have to open terminal and type in to do it. I want it to load from a plist file like Redis and PostgreSQL do. I moved the pl…

Error Output

In the interest of allowing you to run `nginx` without `sudo`, the default
port is set to localhost:8080.

If you want to host pages on your local ma…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I start nginx on port 80 at OS X login?

Low Risk

I found an easier approach was to create add plist file in /Library/LaunchDaemons/ Or, if you want it to launch on login, you can put it in ~/Library/LaunchAgents/, the same plist file. This will allow you to access the launchd launchctl command fro…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment