diff --git a/docusaurus.config.js b/docusaurus.config.js index 44ca194e7f..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', }, @@ -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? - }, }), }; 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;