1

Topic: 0.9.7 > 0.9.8 update nginx templates folder is missing

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi, I am doing 0.9.7 > 0.9.8.

There is instructions: (https://docs.iredmail.org/upgrade.iredm … -iredadmin)

With default iRedMail settings, Nginx snippet file /etc/nginx/templates/iredadmin.tmpl (on Linux/OpenBSD) or /usr/local/etc/nginx/templates/iredadmin.tmpl (on FreeBSD) hard-codes static file types like below:


But in my Debian 8 server there is no /etc/nginx/templates/ folder.

Should i create it?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: 0.9.7 > 0.9.8 update nginx templates folder is missing

mindaugas wrote:

But in my Debian 8 server there is no /etc/nginx/templates/ folder.
Should i create it?

Which iRedMail version did you use for initial installation? maybe it's too old and doesn't have this directory.
You can check existing Nginx template files below, and replace the commands in virtual host config files by "include /etc/nginx/templates/<file>":
https://bitbucket.org/zhb/iredmail/src/ … templates/

3

Re: 0.9.7 > 0.9.8 update nginx templates folder is missing

Hi Zhang, the initial version of iRedMail I used is 0.9.2

Nginx config file structure is like this:

Nginx:
    * Configuration files:
        - /etc/nginx/nginx.conf
        - /etc/nginx/conf.d/default.conf
    * Directories:
        - /etc/nginx
        - /var/www
    * See also:
        - /var/www/index.html

All settings are now in /etc/nginx/conf.d/default.conf

Thanks for the answer!