Skip to content

Instantly share code, notes, and snippets.

@nntoan
Created July 25, 2020 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nntoan/88cc773bbcae80037d5065a4c1c04775 to your computer and use it in GitHub Desktop.
Save nntoan/88cc773bbcae80037d5065a4c1c04775 to your computer and use it in GitHub Desktop.
MailHog Nginx Proxy
chunked_transfer_encoding on;
proxy_set_header X-NginX-Proxy true;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_http_version 1.1;
proxy_redirect off;
proxy_buffering off;
proxy_pass http://127.0.0.1:8025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment