anchor.diff:              rewrite ^/static/webseed/(.*)$              /$1 break;
             '';
           };
  +
  +        extraConfig = lib.optionalString cfg.enableWebHttps ''
  +          add_header Strict-Transport-Security          'max-age=63072000; includeSubDomains';
  +        '';
         };
       };
   
  
positive.code:     node ~/dist/server/tools/peertube.js $@
    '';
  
    nginxCommonHeaders = ''
      add_header Access-Control-Allow-Origin    '*';
      add_header Access-Control-Allow-Methods   'GET, OPTIONS';
      add_header Access-Control-Allow-Headers   'Range,DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type';
  
negative.code:           extraConfig = ''
              client_max_body_size                        6M;
              add_header X-File-Maximum-Size              4M always;
            '' + lib.optionalString cfg.enableWebHttps ''
              add_header Strict-Transport-Security        'max-age=63072000; includeSubDomains';
            '';
          };
  
  