Skip to content

Tag: configuration

How to load environment variables in a config.ini file?

I have a config.ini file which contains some properties but I want to read the environment variables inside the config file. Is this possible or do I have to write a method to take care of that? Answer I know this is late to the party, but someone might find this handy. What you are asking after is value inte…

Nginx is throwing an 403 Forbidden on Static Files

I have a django app, python 2.7 with gunicorn and nginx. Nginx is throwing a 403 Forbidden Error, if I try to view anything in my static folder @: nginx config(/etc/nginx/sites-enabled/myapp) contains: error.log contains: access.log contains I tried just viewing say a .css file in /static/ and it throws an er…