Wood Chen

How to Enable WebSocket Support in Synology Reverse Proxies on DSM 6.2.1 and Earlier

0 comments141 views37 words

This post was translated from Chinese by AI. If anything reads oddly, the Chinese original is authoritative. 中文原文

Modify the Synology nginx configuration

First, connect via SSH, log in as root, and edit the configuration file

vi /usr/syno/share/nginx/Portal.mustache

Then add the following to the location block, as shown below:

proxy_set_headerUpgrade $http_upgrade;

proxy_set_headerConnection "upgrade";

proxy_read_timeout86400;

image

Finally, restart the service

synoservicecfg --restart nginx

It should work now

Last updated 2025-06-25

Related posts

Comments 0