diff --git a/script/setup-app b/script/setup-app index bc38dfe..d172601 100755 --- a/script/setup-app +++ b/script/setup-app @@ -51,8 +51,8 @@ EOS if websocket file.write <<-EOS - location #{websocket}/ { - proxy_pass http://localhost:#{mapping['port']}#{websocket}/; + location #{websocket} { + proxy_pass http://localhost:#{mapping['port']}#{websocket}; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";