This file is indexed.

/usr/share/doc/automx/examples/nginx-automx.conf is in automx 0.10.0-2.1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# /etc/nginx/conf.d/nginx-automx.conf

# You need to ajust the server IP, certificate, server name and the
# socket for uWSGI

map $http_accept_language $lang {
        default en;
        ~de de;
        ~en en;
}

##
## HTTP: autoconfig.*
##

server {
        # Your server IP
        listen 11.22.33.44:80;

        server_name autoconfig.*;

        # automx - autoconfig
        location /mail/config-v1.1.xml {
                include        uwsgi_params;
                uwsgi_pass     127.0.0.1:9100;
        }

        access_log /var/log/nginx/access_log main;
        error_log /var/log/nginx/error_log info;
}

##
## HTTPS: www.example.com
##

server {
        # Your server IP
        listen    11.22.33.44:443;

        server_name www.example.com;

        # Path to your automx static files
        root /var/www/localhost/htdocs;

        index index.html.$lang index.html;

        ssl on; 
        ssl_certificate /etc/ssl/certs/www.example.com.crt;
        ssl_certificate_key /etc/ssl/private/www.example.com.key;
        ssl_session_timeout 5m; 
        ssl_session_cache shared:SSL:5m;

        ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
        ssl_prefer_server_ciphers on; 
        ssl_ciphers RC4:HIGH:!aNULL:!MD5:!kEDH;

        location / {
                more_set_headers 'Content-Type: text/html';
                try_files $uri $uri/ index.html.$lang index.html;
        }

        # automx - autodiscover
        location /autodiscover/autodiscover.xml {
                include        uwsgi_params;
                uwsgi_pass     127.0.0.1:9100;
        }
        # automx - mobileconfig
        location /mobileconfig {
                include         uwsgi_params;
                uwsgi_pass      127.0.0.1:9100;
        }

        access_log /var/log/nginx/access_log main;
        error_log /var/log/nginx/error_log info;
}