Welcome! Log In Create A New Profile

Advanced

Re: Is there a length limitation on file extensions?

March 08, 2016 03:34PM
Thanks a lot for providing a working example. I reproduced it and yes works with that server block. Then I tried to change until I discovered the following. Here is my server block:

server {
listen 443 ssl;
listen 8080;
server_name xxx;
ssl_certificate /etc/letsencrypt/live/xxx/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/xxx/privkey.pem;
root /usr/local/nginx/conf/websites/xxx;
autoindex on;
types {
application/x-ms-application application;
}
}

When I access that server using http, Content-Type is returned as defined, when accessing it via https, Content-Type is missing. Strange, isnĀ“t it?
Btw. I am using nginx 1.8.0.
Subject Author Posted

Is there a length limitation on file extensions?

j.o.l March 07, 2016 05:04PM

Re: Is there a length limitation on file extensions?

A. Schulze March 07, 2016 05:36PM

Re: Is there a length limitation on file extensions?

j.o.l March 08, 2016 03:34PM

Re: Is there a length limitation on file extensions?

B.R. March 09, 2016 11:18AM

Re: Is there a length limitation on file extensions?

j.o.l March 09, 2016 01:06PM

Re: Is there a length limitation on file extensions?

j.o.l March 09, 2016 03:25PM

Re: Is there a length limitation on file extensions?

A. Schulze March 09, 2016 03:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 42
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready