From b958b7386154259881ace9ad1640b1acef405758 Mon Sep 17 00:00:00 2001 From: Colin Diem Date: Sat, 17 Apr 2021 11:43:56 -0400 Subject: [PATCH] Maybe a fix for nextcloud --- nginx-reverse-proxy/default.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/nginx-reverse-proxy/default.conf b/nginx-reverse-proxy/default.conf index b8af551..4872720 100644 --- a/nginx-reverse-proxy/default.conf +++ b/nginx-reverse-proxy/default.conf @@ -81,7 +81,8 @@ server { location / { include /etc/nginx/includes/proxy.conf; proxy_pass https://192.168.1.202:9443; - proxy_redirect https://cloud.colindiem.com/ http://cloud.colindiem.com/; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; } access_log /var/log/nginx/nextcloud-access.log combined; @@ -108,8 +109,9 @@ server { include /etc/nginx/includes/proxy.conf; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; - proxy_pass http://homeassistant:8123/api/websocket -} + proxy_pass http://homeassistant:8123/api/websocket; + } + access_log /var/log/nginx/ha-access.log; error_log /var/log/nginx/ha-error.log; }