You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a site is isolated, Herd writes a site-specific nginx config file in ~/Library/Application Support/Herd/config/valet/Nginx. But when a site isn't isolated, Herd doesn't include any other config files, because it doesn't have to. This makes it difficult to create a local global nginx config that isn't 'owned' by Herd -- even though I can edit the nginx config files used by Herd, it doesn't feel safe.
If Herd provided an 'include' files location for user-supplied nginx config files, and perhaps an empty user-maintainable example file, along with a link to it from somewhere, it would be helpful for those of us who had customized brew-installed nginx configs that no longer worked with Herd. Either that or at least some documentation about the location of the Herd nginx configs. (Thanks @mpociot for pointing me to the correct path)
And in case anyone else is having a problem with 504 Gateway Timeouts in PhpStorm while they linger long minutes puzzling over a breakpoint, adding this (order seems to be important):
...to ~/Library/Application Support/Herd/config/nginx/nginx.conf just above the includes at the end of the file fixes it. And yes I know that's 3 hours, but well, sometimes, that's barely enough time to go get some lunch.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When a site is isolated, Herd writes a site-specific nginx config file in
~/Library/Application Support/Herd/config/valet/Nginx
. But when a site isn't isolated, Herd doesn't include any other config files, because it doesn't have to. This makes it difficult to create a local global nginx config that isn't 'owned' by Herd -- even though I can edit the nginx config files used by Herd, it doesn't feel safe.If Herd provided an 'include' files location for user-supplied nginx config files, and perhaps an empty user-maintainable example file, along with a link to it from somewhere, it would be helpful for those of us who had customized brew-installed nginx configs that no longer worked with Herd. Either that or at least some documentation about the location of the Herd nginx configs. (Thanks @mpociot for pointing me to the correct path)
And in case anyone else is having a problem with 504 Gateway Timeouts in PhpStorm while they linger long minutes puzzling over a breakpoint, adding this (order seems to be important):
...to
~/Library/Application Support/Herd/config/nginx/nginx.conf
just above the includes at the end of the file fixes it. And yes I know that's 3 hours, but well, sometimes, that's barely enough time to go get some lunch.Beta Was this translation helpful? Give feedback.
All reactions