% @ #ip_address @ http://172.30.8.1:8384/ % @ #service @ syncthing % @ #ADDITIONAL_REPLACE @ template = template.replace("proxy_set_header Host $host;", "proxy_set_header Host $host;\nproxy_set_header Upgrade $http_upgrade;\nproxy_set_header Connection \"upgrade\";") % @ launch-docker.sh @ launch-docker.sh & % @ #POST_LAUNCH_COMMANDS @ os.system("docker exec syncthing chown -Rv abc /data1 /data2")