{"id":2002,"date":"2018-10-25T17:53:10","date_gmt":"2018-10-25T16:53:10","guid":{"rendered":"https:\/\/www.thenaylors.co.uk\/wordpress\/?p=2002"},"modified":"2018-10-25T17:53:13","modified_gmt":"2018-10-25T16:53:13","slug":"update-to-nginx-config-for-openmediavault-stops-sites-working-the-fix","status":"publish","type":"post","link":"https:\/\/www.thenaylors.co.uk\/wordpress\/update-to-nginx-config-for-openmediavault-stops-sites-working-the-fix\/","title":{"rendered":"Update to NGINX config for OpenMediaVault stops sites working &#8230; the fix."},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Tried to access the sites I had set up via https:\/\/myurl\/xxxx and they were not working today.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Checking the \/etc\/nginx\/sites-available I could see that an update had been done on the 23 Oct and further checking shows this seemed to be to the openmediavault-webgui.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Checking the backup made a few weeks ago showed that the<br\/>listen [::]:80 ipv6only=off; <br\/>line had been changed to<br\/>listen 80;<br\/>and<br\/>listen [::]:443 ipv6only=off;<br\/>changed to<br\/>listen 443;<br\/>changing back seems to fix everything!<br\/>Not sure why right now.<br\/>The net result of this was that the 2nd server block I had for myurl was being ignored by NGINX.<br\/>Looks like I might need to fix this regularly from now on which is a bit of a pain!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tried to access the sites I had set up via https:\/\/myurl\/xxxx and they were not working today. Checking the \/etc\/nginx\/sites-available I could see that an update had been done on the 23 Oct and further checking shows this seemed to be to the openmediavault-webgui. Checking the backup made a few weeks ago showed that thelisten &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.thenaylors.co.uk\/wordpress\/update-to-nginx-config-for-openmediavault-stops-sites-working-the-fix\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Update to NGINX config for OpenMediaVault stops sites working &#8230; the fix.&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,173,172],"tags":[],"class_list":["post-2002","post","type-post","status-publish","format-standard","hentry","category-linux-nas","category-nginx","category-openmediavault"],"_links":{"self":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/2002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/comments?post=2002"}],"version-history":[{"count":1,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/2002\/revisions"}],"predecessor-version":[{"id":2003,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/posts\/2002\/revisions\/2003"}],"wp:attachment":[{"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/media?parent=2002"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/categories?post=2002"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thenaylors.co.uk\/wordpress\/wp-json\/wp\/v2\/tags?post=2002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}