From 8525906ec2293d326632236d9f8cbd92965d72e3 Mon Sep 17 00:00:00 2001 From: stuppie Date: Mon, 14 Sep 2026 11:24:39 -0600 Subject: internally rewrite to trailing slash without issue 301 --- nginx_amt-jb.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx_amt-jb.conf b/nginx_amt-jb.conf index 1bc770a..1964347 100644 --- a/nginx_amt-jb.conf +++ b/nginx_amt-jb.conf @@ -13,8 +13,8 @@ server { # max upload size client_max_body_size 1M; # adjust to taste - # Issue redirect without trailing slash to trailing slash - rewrite ^([^.]*[^/])$ https://jamesbillings67.com$1/ permanent; + # Internally add a trailing slash while preserving the request method and body. + rewrite ^([^.]*[^/])$ $1/ break; location / { include nginx_amt-jb_proxy_pass.conf; -- cgit v1.2.3