From bf61e27f8a95630fecd4b86ae1a6ea2ca7ed539f Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Tue, 12 Jan 2021 03:02:03 +0000 Subject: [PATCH] update nginx conf --- install.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e6839647..4a1361c8 100644 --- a/install.sh +++ b/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -SCRIPT_VERSION="31" +SCRIPT_VERSION="32" SCRIPT_URL='https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/install.sh' sudo apt install -y curl wget @@ -515,6 +515,14 @@ server { alias /srv/salt/scripts/; } + location ~ ^/(natsapi) { + allow 127.0.0.1; + deny all; + uwsgi_pass tacticalrmm; + include /etc/nginx/uwsgi_params; + uwsgi_read_timeout 9999s; + uwsgi_ignore_client_abort on; + } location / { uwsgi_pass tacticalrmm;