Any ideas what can go wrong that would cause a Gunicorn not be able to serve a link to a pdf file when DEBUG in django settings.py is turned to False? The site still works great but pdf links are not served.
When DEBUG=True the site with links to pdf files works great and gunicorn serves pdf links and pdf shows on screen, whereas when DEBUG=False and ALLOWED_HOSTS = ['my provider's IP'] (all other configurations in settings.py are the same) and gunicorn.conf is untouched in both situations, pdf links fail.