So, first of all, one of my local websites began throwing 502 Gateway Error when trying to load it. Just one. When I changed its domain from .dev to .local, it continued to work fine. Any clue on what could be going on? I checked the /var/log/nginx/error.log and it showed the following error:
upstream sent too big header while reading response header from upstream, client: 127.0.0.1, server: site_domain, request: “GET /contest HTTP/1.0”, upstream: "fastcgi://unix:/var/run/php-fpm.sock:
Which I kind of know how to fix but I really dislike the idea of having to manually change the nginx configuration manually to solve a specific bug.
Second thing is kind of a bug. After the update, I changed most of my local sites domains from .dev to .local, as is now encouraged by the 2.1.0 update. I usually develop custom themes and my workflow relies heavily on gulp + browsersync but since the update I noticed that browsersync is extremely slow when reloading, which never happened before.
Well, after a short research I found out that apparently there are problems when using browsersync on a website with .local domain on Mac:
So I guess I’ll need to go back to .dev domains and manually fix my nginx issue. Do you have any suggestion regarding the .local domain thing with browsersync?