Is there a length limitation on file extensions?

A. Schulze sca at andreasschulze.de
Wed Mar 9 20:25:08 UTC 2016


j.o.l:

> Any other idea what to try or check?

I would write two separate server blocks,

server {
   listen 8080;

   server_name     xxx;
   root /usr/local/nginx/conf/websites/xxx;
   autoindex on;
   types {
     application/x-ms-application application;
   }
}

server {
   listen 443 ssl;
   ssl_certificate /etc/letsencrypt/live/xxx/fullchain.pem;
   ssl_certificate_key /etc/letsencrypt/live/xxx/privkey.pem;

   server_name     xxx;
   root /usr/local/nginx/conf/websites/xxx;
   autoindex on;
   types {
     application/x-ms-application application;
   }
}



More information about the nginx mailing list