Switched from Rainloop to SnappyMail since it seems to be abandoned

This commit is contained in:
2022-09-06 22:48:05 +02:00
parent 56e36c1ddc
commit 290f40319f
10 changed files with 113 additions and 170 deletions

View File

@@ -24,7 +24,7 @@ http {
default_type application/octet-stream;
access_log off;
error_log /var/log/nginx/error.log;
#Server config for RainLoop
#Server config for Webmail
server {
listen 80 default_server;
listen [::]:80 default_server;
@@ -36,8 +36,8 @@ server {
location / {
try_files $uri $uri/ =404;
}
location ^~ /rainloop {
alias /opt/rainloop;
location ^~ /webmail {
alias /opt/webmail;
location ~ \.php$ {
fastcgi_split_path_info ^(.+?\.php)(\/.*|)$;
set $path_info $fastcgi_path_info;
@@ -45,7 +45,7 @@ server {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_param PATH_INFO $path_info;
fastcgi_param HTTPS on;
fastcgi_param HTTPS off;
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
fastcgi_pass unix:/run/php-fpm8/php-fpm.sock;
@@ -53,7 +53,7 @@ server {
fastcgi_request_buffering off;
}
}
location ^~ /rainloop/data {
location ^~ /webmail/data {
deny all;
}
}