Maybe a fix for nextcloud

This commit is contained in:
Colin Diem
2021-04-17 11:43:56 -04:00
parent a45eb0fe9c
commit b958b73861

View File

@@ -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;
}