From a0ec1ab871b5009bbc396a2d185a96532c1ade4e Mon Sep 17 00:00:00 2001 From: Kristian Lange Date: Wed, 19 Jan 2022 14:20:05 +0100 Subject: [PATCH 1/3] Configure Google Analytics --- docusaurus.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 44ca194e7f..515109744d 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -56,6 +56,10 @@ const config = { theme: { customCss: require.resolve('./src/css/custom.css'), }, + googleAnalytics: { + trackingID: 'UA-57013276-1', + anonymizeIP: true, // Should IPs be anonymized? + }, }), ], ], @@ -137,10 +141,6 @@ const config = { theme: lightCodeTheme, darkTheme: darkCodeTheme, }, - googleAnalytics: { - trackingID: 'UA-57013276-1', - anonymizeIP: true, // Should IPs be anonymized? - }, }), }; From 2a61e8824023539f14be13c5da5ce2484286a0da Mon Sep 17 00:00:00 2001 From: Kristian Lange Date: Tue, 25 Jan 2022 12:23:03 +0100 Subject: [PATCH 2/3] Update JATOS-with-Nginx.md --- .../version-3.7.1/Serving_the_Internet/JATOS-with-Nginx.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/versioned_docs/version-3.7.1/Serving_the_Internet/JATOS-with-Nginx.md b/versioned_docs/version-3.7.1/Serving_the_Internet/JATOS-with-Nginx.md index 0343e1b5fa..4a9e63221b 100644 --- a/versioned_docs/version-3.7.1/Serving_the_Internet/JATOS-with-Nginx.md +++ b/versioned_docs/version-3.7.1/Serving_the_Internet/JATOS-with-Nginx.md @@ -72,7 +72,7 @@ http { ssl_prefer_server_ciphers on; # websocket location (JATOS' group and batch channel and the test page) - location ~ "/(jatos/testWebSocket|publix/[\d]+/(group/join|batch/open))" { + location ~ "/(jatos/testWebSocket|publix/[a-z0-9-]+/(group/join|batch/open))" { proxy_pass http://jatos-backend; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; @@ -172,7 +172,7 @@ http { server_name www.example.com; # websocket location (JATOS' group and batch channel and the test page) - location ~ "^/(jatos/testWebSocket|publix/[\d]+/(group/join|batch/open))" { + location ~ "^/(jatos/testWebSocket|publix/[a-z0-9-]+/(group/join|batch/open))" { proxy_pass http://jatos-backend; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; From ba572b9199a9dfcc5fa3f8735ffc1e72eae6bf01 Mon Sep 17 00:00:00 2001 From: Kristian Lange Date: Wed, 2 Feb 2022 21:29:46 +0100 Subject: [PATCH 3/3] Rename label 3.7.1 -> 3.7.x --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 515109744d..1028b00173 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -36,7 +36,7 @@ const config = { banner: 'unreleased', }, '3.7.1': { - label: '3.7.1', + label: '3.7.x', path: '', banner: 'none', },