% @ #ip_address @ http://172.30.9.1:80/ % @ #service @ pigallery2 % @ #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\";") % @ #START_CONTAINER @ os.system("mkdir -p /opt/pigallery2/config /opt/pigallery2/sqlite/ && touch /opt/pigallery2/config/config.json /opt/pigallery2/sqlite/sqlite.db")