Score:0

How to convert Nginx config to Apache2 for Modoboa

se flag

I am trying to setup Modoboa and can't get the new admin page working because it needs this config which is in Nginx but I am using Apache2 can anyone help me with this config

https://modoboa.readthedocs.io/en/latest/upgrade.html?highlight=new-admin#new-admin-interface

location ^~ /new-admin {
    alias  /srv/modoboa/instance/frontend/;
    index  index.html;

    expires -1;
    add_header Pragma "no-cache";
    add_header Cache-Control "no-store, no-cache, must-revalidate, post-check=0, pre-check=0";

    try_files $uri $uri/ /index.html = 404;
}
Score:0
do flag

It's a bit late but this works.

Alias /new-admin /home/modoboa/instance/frontend/
<Directory /home/modoboa/instance/frontend>
    Order deny,allow
    Allow from all
</Directory>
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.