Skip to content

Instantly share code, notes, and snippets.

@pryley
Created February 8, 2017 04:25
Show Gist options
  • Select an option

  • Save pryley/69f2fc4391fd105338ca34f7520e9c6e to your computer and use it in GitHub Desktop.

Select an option

Save pryley/69f2fc4391fd105338ca34f7520e9c6e to your computer and use it in GitHub Desktop.
Run Mailhog on Laravel Valet (~/.valet/Nginx/mailhog.dev)
server {
listen 80;
server_name mailhog.dev;
location / {
proxy_pass http://127.0.0.1:8025/;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment