Server IP : 85.214.239.14 / Your IP : 18.226.88.240 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/root/srv/automx/automx-master/src/conf/ |
Upload File : |
# /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; }