title: Django static tag adding queryparams to generated static files when using DigitalOcean spaces
body: <p>So, my webpage generates file that includes the access tokens when using the static tag in django to link to my static files, preferably i would like this link to go to my server, aka: </p>
  
  <blockquote>
    <p><a href="http://xxx.xxx.xxx/static/css/main.css" rel="nofollow noreferrer">http://xxx.xxx.xxx/static/css/main.css</a></p>
  </blockquote>
  
  <p>Right now its generating: </p>
  
  <blockquote>
    <p>https://******.digitaloceanspaces.com/fpl/static/css/main.css?AWSAccessKeyId=<strong><em>&amp;Signature=</em></strong>%3D&amp;Expires=1571503012</p>
  </blockquote>
  
  <p>in my html</p>
  
  <p>My settings for static files in production:</p>
  
  <pre><code>AWS_ACCESS_KEY_ID = '***' 
  AWS_SECRET_ACCESS_KEY = '****' 
  AWS_STORAGE_BUCKET_NAME= '***' 
  AWS_S3_ENDPOINT_URL = 'https://*****.digitaloceanspaces.com' AWS_S3_OBJECT_PARAMETERS = {
      'CacheControl': 'max-age=86400', } AWS_LOCATION = 'static'
  
  STATIC_URL = 'http://***.***.***' 
  STATICFILES_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
  </code></pre>
  
  <p>How can i change the settings to make it link to my servers nginx instead? </p>