2017-02-18 4 views
0

Ich benutzte bruen, um nginx auf Mac zu installieren. Und jetzt möchte ich ein Modul http_realip hinzufügen. Ich fand in der Dokumentation, dass ich den Befehl verwenden sollte, um das Modul hinzuzufügen. Aber ich kann nur nginx.conf anstelle der Konfigurationsdatei finden. Weiß jemand, was ist der Standardpfad der Konfigurationsdatei auf dem Mac?Wie nginx mit dem Modul auf dem Mac neu starten?

Antwort

0

Ich löste das Problem mit nginx-full: brew install nginx-full --with-realip