aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nginx_amt-jb.conf4
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;