diff options
| author | stuppie | 2026-09-14 11:24:39 -0600 |
|---|---|---|
| committer | stuppie | 2026-09-14 11:24:39 -0600 |
| commit | 8525906ec2293d326632236d9f8cbd92965d72e3 (patch) | |
| tree | 96e9ef4cb313f25c0b708b4be661ac2b0ee8394a | |
| parent | 0f8f844a66ff7e4f2d3efccc115d0395958eb6a3 (diff) | |
| download | amt-jb-8525906ec2293d326632236d9f8cbd92965d72e3.tar.gz amt-jb-8525906ec2293d326632236d9f8cbd92965d72e3.zip | |
internally rewrite to trailing slash without issue 301
| -rw-r--r-- | nginx_amt-jb.conf | 4 |
1 files 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; |
