Skip to content

Commit ed57b70

Browse files
authored
doc: Added web socket
To get the nginx proxy working with web sockets, e.g. to use the new log viewer in the OH4 GUI, the proxy_http_version 1.1 was added to the nginx configuration Signed-off-by: Frank Seidinger <[email protected]>
1 parent 3298dc8 commit ed57b70

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

installation/reverse-proxy.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ server {
3939
listen 80;
4040
server_name mydomain_or_myip;
4141

42+
# Enable web sockets, e.g. the new log-viwer
43+
proxy_http_version 1.1;
44+
4245
# Cross-Origin Resource Sharing
4346
add_header 'Access-Control-Allow-Origin' '*' always;
4447
add_header 'Access-Control-Allow_Credentials' 'true' always;

0 commit comments

Comments
 (0)