From 9e88f67021e2fb9a61ec2e216fb473eb1af098d1 Mon Sep 17 00:00:00 2001 From: Hadrien Date: Tue, 2 Nov 2021 01:08:13 +0300 Subject: [PATCH] disable custom port as not working right now --- conf/nginx.conf | 4 ++-- doc/DISCLAIMER.md | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 11121d7..94b5e93 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,10 +9,10 @@ location __PATH__/ { rewrite ^ https://$server_name$request_uri? permanent; } - proxy_pass http://localhost:__PORT__; + # proxy_pass http://localhost:__PORT__; # proxy_set_header X-Real-IP $remote_addr; # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - # proxy_pass http://localhost:3001/; + proxy_pass http://localhost:3001/; proxy_http_version 1.1; # https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy#nginx proxy_set_header Upgrade $http_upgrade; diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 9c9f8e3..8c458f3 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -3,6 +3,7 @@ - Uses N to install specific nodejs version - ARM architecture not supported - No upgrade script in this package +- does not properly use port reserved by yunohost