Add a link to autoconfigure apple devices

master
Florent Daigniere 3 years ago
parent 0bccb5045c
commit 6fc1273b58

@ -9,6 +9,7 @@
{%- endblock %} {%- endblock %}
{%- block content %} {%- block content %}
<div>If you use an Apple device, <a href="/apple.mobileconfig">click here to autoconfigure it.</a></div>
{%- call macros.table(title=_("Incoming mail"), datatable=False) %} {%- call macros.table(title=_("Incoming mail"), datatable=False) %}
<tbody> <tbody>
<tr> <tr>

@ -133,7 +133,7 @@ http {
proxy_pass http://$admin; proxy_pass http://$admin;
} }
# apple mobileconfig # apple mobileconfig
location ^~ /mobileconfig { location ~ ^/(apple\.)?mobileconfig {
rewrite ^ /internal/autoconfig/apple break; rewrite ^ /internal/autoconfig/apple break;
include /etc/nginx/proxy.conf; include /etc/nginx/proxy.conf;
proxy_pass http://$admin; proxy_pass http://$admin;

Loading…
Cancel
Save