@ -89,6 +89,7 @@ RUN chmod +x /docker-entrypoint.sh \
|
||||
# ensure dovecot related scripts are executable
|
||||
&& chmod +x /bin/quota-warning.sh \
|
||||
&& chmod +x /bin/welcome-email.sh \
|
||||
&& chmod +x /bin/group-mailbox.sh \
|
||||
&& chmod 744 /etc/dovecot/dovecot-acl \
|
||||
# Postfix related commands
|
||||
&& usermod -a -G vmail postfix \
|
||||
|
18
test/nginx/templates/default.conf.template
Executable file
18
test/nginx/templates/default.conf.template
Executable file
@ -0,0 +1,18 @@
|
||||
server {
|
||||
index index.php index.html;
|
||||
server_name php-docker.local;
|
||||
error_log /var/log/nginx/error.log;
|
||||
access_log /var/log/nginx/access-roundcube.log;
|
||||
root /var/www/html;
|
||||
|
||||
location ~ \.php$ {
|
||||
try_files $uri =404;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass ${NGINX_PHP_CGI};
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user