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;