From 48cccb2aeeefe290d5e11ebf5e918b1e383e56ec Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 23 Sep 2023 17:34:07 +0200 Subject: [PATCH] fix encoding --- conf/nginx.conf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 0b28d19..1c84f07 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1 +1,10 @@ -location%20__PATH__%2F%20%7B%0D%0A%20%20%20%20%0D%0A%20%20%20%20proxy_pass%20%20%20%20%20%20%20http%3A%2F%2F127.0.0.1%3A__PORT__%3B%0D%0A%20%20%20%20proxy_set_header%20X-Real-IP%20%24remote_addr%3B%0D%0A%20%20%20%20proxy_set_header%20Host%20%24host%3B%0D%0A%20%20%20%20proxy_set_header%20X-Forwarded-For%20%24proxy_add_x_forwarded_for%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20%23%20Include%20SSOWAT%20user%20panel.%0D%0A%20%20%20%20include%20conf.d%2Fyunohost_panel.conf.inc%3B%0D%0A%20%20%20%20%7D%22 \ No newline at end of file +location __PATH__/ { + + proxy_pass http://127.0.0.1:__PORT__; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + + # Include SSOWAT user panel. + include conf.d/yunohost_panel.conf.inc; +}