joglomedia / LEMPer

LEMPer Stack is terminal-based LEMP / LNMP ( Linux, Nginx, MariaDB, PostgreSQL, MongoDB, Redis, Memcache, PHP, Secure FTP ) auto installer and virtual host manager for Debian & Ubuntu cloud or virtual server (vps) and on-premise (bare metal).
https://lemper.cloud/
GNU General Public License v3.0
220 stars 59 forks source link

Add vhost support for Rainloop webmail #45

Open joglomedia opened 5 years ago

joglomedia commented 5 years ago

Introduction

Rainloop is a popular free Open Source Web Application primarily written in PHP. It offers users a swift and contemporary web interface for accessing emails on a majority of commonly used domain mail providers such as Outlook, Yahoo, and Gmail, in addition to local mail servers.

Official download site

https://www.rainloop.net/downloads/

Current latest version

https://github.com/RainLoop/rainloop-webmail/releases https://www.rainloop.net/repository/webmail/rainloop-community-latest.zip

Installation

https://www.rainloop.net/docs/installation/

curl -sL https://repository.rainloop.net/installer.php | php or wget -qO- https://repository.rainloop.net/installer.php | php

Sample Nginx directive

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    location ~ \.php$ {
        fastcgi_index index.php;
        fastcgi_split_path_info ^(.+\.php)(.*)$;
        fastcgi_keep_conn on;
        include /etc/nginx/fastcgi_params;
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }

    location ~ /\.ht {
        deny all;
    }

    location ^~ /data {
      deny all;
    }
AutomationBoi commented 5 years ago

hey do you want to run rainloop on a vhost is this what the issue title means?

joglomedia commented 5 years ago

@AutomationBoi Hi, for vhost configuration example is available here https://github.com/joglomedia/LEMPer/tree/master/etc/nginx/vhost

I want to integrate Rainloop to LEMPer stack

Unfortunately, there is no documentation available yet, for contribution please take a time to read the code base, first.

Thank you for your interest.