From fcca345ba1f4b7457ef8b48184d68a0c30adcb39 Mon Sep 17 00:00:00 2001 From: jeff Date: Sat, 3 Oct 2015 10:31:32 -0400 Subject: [PATCH] fix nginx config --- contrib/configs/nginx/nntpchan | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contrib/configs/nginx/nntpchan b/contrib/configs/nginx/nntpchan index 4af45e3..5290e3f 100644 --- a/contrib/configs/nginx/nntpchan +++ b/contrib/configs/nginx/nntpchan @@ -2,11 +2,10 @@ # make sure to set prefix=/nntpchan/ for section frontend in srnd.ini server { listen 80; - location /nntpchan/ { + location /nntpchan/(.*) { client_max_body_size 50M; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; - rewrite ^/nntpchan/(.*) /$1; - proxy_pass http://[::1]:18000/; + proxy_pass http://[::1]:18000/$1; } }