title: Senaite LIMS (Plone 4.3.18) css not working on Nginx with https enabled
body: <p>I've installed and set up senaite.lims, which is a Plone extension, running on Plone 4.3.18 installed by the Unified Installer, and adding senaite.lims to the buildout.cfg eggs.</p>
  
  <p>It's running fine on port 8080, and I can get Nginx to work redirecting / to :8080, but when I start using https, suddenly the css of the site doesn't work anymore.</p>
  
  <p>I looked at the source, and the produced html page shows a link to the stylesheet with http://.... which I don't know if may cause problems, but if I actually try to open the .css file in the browser it works fine.</p>
  
  <p>I set up and tried both with port 80 redirecting the https, and serving both a version of http and https, but neither one would get the page to render using .css. If anyone has any tips, or sees something wrongly configured in the nginx below, any help would be greatly appreciated.</p>
  
  <p>Here is my nginx.conf:</p>
  
  <pre><code>user www-data;
  worker_processes auto;
  pid /run/nginx.pid;
  
  events {
      worker_connections 768;
  }
  
  http {
      default_type  application/octet-stream;
      include /etc/nginx/mime.types;
      sendfile    on;
      keepalive_timeout 75;
  
      upstream plone {
          server 127.0.0.1:8080;
      }
  
      server {
          listen              80;
          listen              443 ssl http2;
          server_name         99.99.99.99; # changed for posting on SO
          ssl_certificate     /etc/ssl/certs/nginx-selfsigned.crt;
          ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key;
  
          error_log /var/log/nginx/nginx.vhost.error.log;
  
          location / {
          proxy_pass                http://localhost:8080/;
          proxy_redirect            off;
          proxy_set_header          Host               $host;
          proxy_set_header          X-Real-IP          $remote_addr;
          proxy_set_header          X-Forwarded-For    $proxy_add_x_forwarded_for;
          proxy_set_header          X-Forwarded-Proto  https;
          proxy_buffer_size         128k;
          proxy_buffers             8 128k;
          proxy_busy_buffers_size   256k;
          }
      }
  }
  </code></pre>