From 70dbd74e8fcc0f9b5f1911d8dfef3cc794d4fd69 Mon Sep 17 00:00:00 2001 From: Neko Nekowazarashi Date: Thu, 5 Oct 2023 22:32:59 +0700 Subject: [PATCH] pembaruan konfigurasi --- conf/default.json | 6 ++++++ conf/nginx.conf | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/conf/default.json b/conf/default.json index 2ad7b03..8741895 100644 --- a/conf/default.json +++ b/conf/default.json @@ -5,5 +5,11 @@ "port": __PORT__, "public_port": 443, "schema": "https" + }, + "analytics": { + "enable": false, + "domain": "", + "scriptSource": "", + "dataEndpoint": "" } } diff --git a/conf/nginx.conf b/conf/nginx.conf index a4c4d1f..237b8e9 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,4 @@ -#root_path_only location / { -#sub_path_only location __PATH__ { +location __PATH__ { # Standard nginx configuration proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; @@ -7,7 +6,7 @@ proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_pass http://localhost:__PORT____PATH__; + proxy_pass http://localhost:__PORT__/; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc;