Nginx does not serve/proxy path if it is missing ending slash

خرید بک لینک
Hello dear Nginx users, being amateur user I wanted to ask You for your help.

My Nginx configuration is properly serving a webpage when visiting:
server.my.name
my.name
my.name/rooms
my.name/room/abc
my.name/r/abc/

but not when i visit:
my.name/r/abc
(note that same path works when it has trailing slash)

without slash, it redirects to
http://127.3.2.1:4242/r/abc/ 
Code (markup):
my configuration file is:

# cat /etc/nginx/nginx.conf

#user nobody;
worker_processes 1;

#error_log...
Code (markup):
Nginx does not serve/proxy path if it is missing ending slash WordPress ...

ما را در سایت WordPress دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 122 تاريخ: شنبه 28 مرداد 1402 ساعت: 18:54

صفحه بندی