update for mobile
This commit is contained in:
@@ -151,14 +151,13 @@ OUTPUT="${OUTPUT}\n"
|
||||
|
||||
# --- 4. Apple MobileConfig (Template) ---
|
||||
OUTPUT="${OUTPUT} # Apple MobileConfig (dynamisches Template)\n"
|
||||
OUTPUT="${OUTPUT} # .tpl → .html damit file_server text/html liefert und templates rendert\n"
|
||||
OUTPUT="${OUTPUT} route /apple {\n"
|
||||
OUTPUT="${OUTPUT} templates {\n"
|
||||
OUTPUT="${OUTPUT} mime \"application/x-apple-aspen-config\"\n"
|
||||
OUTPUT="${OUTPUT} }\n"
|
||||
OUTPUT="${OUTPUT} root * /etc/caddy\n"
|
||||
OUTPUT="${OUTPUT} rewrite * /email.mobileconfig.html\n"
|
||||
OUTPUT="${OUTPUT} templates\n"
|
||||
OUTPUT="${OUTPUT} header Content-Type \"application/x-apple-aspen-config; charset=utf-8\"\n"
|
||||
OUTPUT="${OUTPUT} header Content-Disposition \"attachment; filename=email.mobileconfig\"\n"
|
||||
OUTPUT="${OUTPUT} root * /etc/caddy\n"
|
||||
OUTPUT="${OUTPUT} rewrite * /email.mobileconfig.tpl\n"
|
||||
OUTPUT="${OUTPUT} file_server\n"
|
||||
OUTPUT="${OUTPUT} }\n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user