Initial
This commit is contained in:
1
configs/aliases
Normal file
1
configs/aliases
Normal file
@ -0,0 +1 @@
|
||||
root: $SMTP_FROM
|
11
configs/envs/php7.sh
Normal file
11
configs/envs/php7.sh
Normal file
@ -0,0 +1,11 @@
|
||||
PHP_FPM_USER="www"
|
||||
PHP_FPM_GROUP="www"
|
||||
PHP_FPM_LISTEN_MODE="0660"
|
||||
PHP_MEMORY_LIMIT="512M"
|
||||
PHP_MAX_UPLOAD="50M"
|
||||
PHP_MAX_FILE_UPLOAD="200"
|
||||
PHP_MAX_POST="100M"
|
||||
PHP_DISPLAY_ERRORS="On"
|
||||
PHP_DISPLAY_STARTUP_ERRORS="On"
|
||||
PHP_ERROR_REPORTING="E_COMPILE_ERROR\|E_RECOVERABLE_ERROR\|E_ERROR\|E_CORE_ERROR"
|
||||
PHP_CGI_FIX_PATHINFO=0
|
18
configs/msmtprc
Normal file
18
configs/msmtprc
Normal file
@ -0,0 +1,18 @@
|
||||
# Set default values for all following accounts.
|
||||
defaults
|
||||
auth on
|
||||
tls on
|
||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||
syslog on
|
||||
|
||||
# Gmail
|
||||
account themail
|
||||
host $SMTP_HOST
|
||||
port $SMTP_PORT
|
||||
from $SMTP_FROM
|
||||
user $SMTP_USER
|
||||
password $SMTP_PASSWORD
|
||||
|
||||
# Set a default account
|
||||
account default : themail
|
||||
aliases /etc/aliases
|
34
configs/nginx.conf
Normal file
34
configs/nginx.conf
Normal file
@ -0,0 +1,34 @@
|
||||
user www;
|
||||
worker_processes auto; # it will be determinate automatically by the number of core
|
||||
|
||||
error_log /var/log/nginx/error.log warn;
|
||||
pid /run/nginx.pid;
|
||||
#pid /var/run/nginx/nginx.pid; # it permit you to use /etc/init.d/nginx reload|restart|stop|start
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
sendfile on;
|
||||
access_log /var/log/nginx/access.log;
|
||||
keepalive_timeout 3000;
|
||||
server {
|
||||
listen 80;
|
||||
root /www;
|
||||
index index.html index.htm index.php;
|
||||
server_name localhost;
|
||||
client_max_body_size 32m;
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /var/lib/nginx/html;
|
||||
}
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass 127.0.0.1:9000;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi.conf;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user