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 دنبال می کنید

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