Welcome! Log In Create A New Profile

Advanced

merge_slashes

Vladimir Sopot
April 16, 2024 03:44PM
Здравствуйте!

Есть примерно такой упрощённый конфиг и при обращении к some.local////////some.html merge_slashes не работает. Если в первом сервере убрать merge_slashes off, то всё работает нормально и во втором сервере.
Почему так? nginx version: nginx/1.25.3

http {
merge_slashes on;
}

server {
listen 127.0.0.1:80 default_server;
server_name 127.0.0.1 _ "";

merge_slashes off;
allow 127.0.0.1;
deny all;

location /nginx_status {
stub_status on;
}

…. много location

}

server {
listen *:80;
server_name some.local;

…. много location

}

Best, VS
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

merge_slashes

Vladimir Sopot April 16, 2024 03:44PM

Re: merge_slashes

Roman Arutyunyan April 24, 2024 12:26PM

Re: merge_slashes

Vladimir Sopot May 29, 2024 01:54PM

Re: merge_slashes

Roman Arutyunyan May 30, 2024 10:38AM

Re: merge_slashes

Anonymous User May 30, 2024 11:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 193
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready