Recently I've noticed some errors in relation to the above which are causing concern to whether actionable data is being retrieved.
Here's what I get on a cURL:
$ curl --verbose -k --header 'Host: /run/gunicorn.so...
I followed a tutorial on configuring Nginx to prevent host header attacks on Meduim (https://medium.com/@alex_kuznetsov/how-to-fix-django-error-invalid-http-host-with-nginx-d0183a1ca753). I placed the statement in the...
Nevermind, figured it out after playing around with it and it seems work placed in the sites-enabled/mydomain file in the server section.