From c096b03b7d02e73820a56650bbad9e59c8d47b72 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sat, 30 Apr 2016 17:37:47 +0200 Subject: [PATCH] Add notes for 2016-04-30 --- content/2016-04.md | 13 +++++++++++++ public/2016-04/index.html | 16 ++++++++++++++++ public/index.xml | 16 ++++++++++++++++ public/tags/notes/index.xml | 16 ++++++++++++++++ 4 files changed, 61 insertions(+) diff --git a/content/2016-04.md b/content/2016-04.md index f2d402894..02b43afa5 100644 --- a/content/2016-04.md +++ b/content/2016-04.md @@ -379,3 +379,16 @@ dspace.log.2016-04-27:7271 - Problems with stability again. I've blocked access to `/rest` for now to see if the number of errors in the log files drop - Later we could maybe start logging access to `/rest` and perhaps whitelist some IPs... + +## 2016-04-30 + +- Logs for today and yesterday have zero references to this REST error, so I'm going to open back up the REST API but log all requests + +``` +location /rest { + access_log /var/log/nginx/rest.log; + proxy_pass http://127.0.0.1:8443; +} +``` + +- I will check the logs again in a few days to look for patterns, see who is accessing it, etc diff --git a/public/2016-04/index.html b/public/2016-04/index.html index 7a5c6e6ff..e6267b747 100644 --- a/public/2016-04/index.html +++ b/public/2016-04/index.html @@ -512,6 +512,22 @@ dspace.log.2016-04-27:7271 + +

2016-04-30

+ + + +
location /rest {
+	access_log /var/log/nginx/rest.log;
+	proxy_pass http://127.0.0.1:8443;
+}
+
+ + diff --git a/public/index.xml b/public/index.xml index 4398ff60e..e1b4d75b2 100644 --- a/public/index.xml +++ b/public/index.xml @@ -451,6 +451,22 @@ dspace.log.2016-04-27:7271 <li>Problems with stability again. I&rsquo;ve blocked access to <code>/rest</code> for now to see if the number of errors in the log files drop</li> <li>Later we could maybe start logging access to <code>/rest</code> and perhaps whitelist some IPs&hellip;</li> </ul> + +<h2 id="2016-04-30:c88be15f5b2f07c85f7742556a955e47">2016-04-30</h2> + +<ul> +<li>Logs for today and yesterday have zero references to this REST error, so I&rsquo;m going to open back up the REST API but log all requests</li> +</ul> + +<pre><code>location /rest { + access_log /var/log/nginx/rest.log; + proxy_pass http://127.0.0.1:8443; +} +</code></pre> + +<ul> +<li>I will check the logs again in a few days to look for patterns, see who is accessing it, etc</li> +</ul> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index 507e554df..a18d8952f 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -451,6 +451,22 @@ dspace.log.2016-04-27:7271 <li>Problems with stability again. I&rsquo;ve blocked access to <code>/rest</code> for now to see if the number of errors in the log files drop</li> <li>Later we could maybe start logging access to <code>/rest</code> and perhaps whitelist some IPs&hellip;</li> </ul> + +<h2 id="2016-04-30:c88be15f5b2f07c85f7742556a955e47">2016-04-30</h2> + +<ul> +<li>Logs for today and yesterday have zero references to this REST error, so I&rsquo;m going to open back up the REST API but log all requests</li> +</ul> + +<pre><code>location /rest { + access_log /var/log/nginx/rest.log; + proxy_pass http://127.0.0.1:8443; +} +</code></pre> + +<ul> +<li>I will check the logs again in a few days to look for patterns, see who is accessing it, etc</li> +</ul>