Closed pdewouters closed 8 years ago
@pdewouters you'd have to re-provision too to make any managed files stick, I'll try this on mine
@joehoyle Tested locally and this works fine, any issues with it being implemented on our main stack? Would avoid those problems with code that relies on $_SERVER['SERVER_NAME']
rather than $_SERVER['HTTP_HOST']
like the comment notification functions in core
ah I didn't re-provision.
couldn't get xdebug to connect. do you set the remote PHP interpreter?
Tested locally and works well.
As far as I understand, this should be set in the fastcgi_params file which is included here: https://github.com/humanmade/Salty-WordPress/blob/master/config/salt/config/nginx/default#L75
I created that file in the same folder locally and added
fastcgi_param SERVER_NAME $host;
But onvagrant reload
it hasn't changed the value. Am I doing it wrong?