mirror of
https://github.com/myvesta/vesta
synced 2025-07-30 03:29:26 -07:00
added rpm specs for vesta packages
This commit is contained in:
parent
d35e36056d
commit
b5aca1a716
7 changed files with 2403 additions and 0 deletions
123
src/rpm/conf/nginx.conf
Normal file
123
src/rpm/conf/nginx.conf
Normal file
|
@ -0,0 +1,123 @@
|
||||||
|
user admin;
|
||||||
|
worker_processes 1;
|
||||||
|
error_log /usr/local/vesta/log/nginx-error.log;
|
||||||
|
pid /var/run/vesta-nginx.pid;
|
||||||
|
|
||||||
|
events {
|
||||||
|
worker_connections 128;
|
||||||
|
use epoll;
|
||||||
|
}
|
||||||
|
|
||||||
|
http {
|
||||||
|
# Main settings
|
||||||
|
sendfile on;
|
||||||
|
tcp_nopush on;
|
||||||
|
tcp_nodelay on;
|
||||||
|
client_header_timeout 1m;
|
||||||
|
client_body_timeout 1m;
|
||||||
|
client_header_buffer_size 2k;
|
||||||
|
client_body_buffer_size 256k;
|
||||||
|
client_max_body_size 100m;
|
||||||
|
large_client_header_buffers 4 8k;
|
||||||
|
send_timeout 30;
|
||||||
|
keepalive_timeout 60 60;
|
||||||
|
reset_timedout_connection on;
|
||||||
|
server_tokens off;
|
||||||
|
server_name_in_redirect off;
|
||||||
|
server_names_hash_max_size 512;
|
||||||
|
server_names_hash_bucket_size 512;
|
||||||
|
|
||||||
|
|
||||||
|
# Log format
|
||||||
|
log_format main '$remote_addr - $remote_user [$time_local] $request '
|
||||||
|
'"$status" $body_bytes_sent "$http_referer" '
|
||||||
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||||
|
log_format bytes '$body_bytes_sent';
|
||||||
|
access_log /dev/null main;
|
||||||
|
|
||||||
|
|
||||||
|
# SSL PCI Compliance
|
||||||
|
ssl_ciphers RC4:HIGH:!aNULL:!MD5:!kEDH;
|
||||||
|
ssl_session_cache shared:SSL:10m;
|
||||||
|
ssl_prefer_server_ciphers on;
|
||||||
|
|
||||||
|
|
||||||
|
# Mime settings
|
||||||
|
include /usr/local/vesta/nginx/conf/mime.types;
|
||||||
|
default_type application/octet-stream;
|
||||||
|
|
||||||
|
|
||||||
|
# Compression
|
||||||
|
gzip on;
|
||||||
|
gzip_comp_level 9;
|
||||||
|
gzip_min_length 512;
|
||||||
|
gzip_buffers 8 64k;
|
||||||
|
gzip_types text/plain text/css text/javascript
|
||||||
|
application/x-javascript;
|
||||||
|
gzip_proxied any;
|
||||||
|
|
||||||
|
|
||||||
|
# Proxy settings
|
||||||
|
proxy_redirect off;
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_pass_header Set-Cookie;
|
||||||
|
proxy_connect_timeout 90;
|
||||||
|
proxy_send_timeout 90;
|
||||||
|
proxy_read_timeout 90;
|
||||||
|
proxy_buffers 32 4k;
|
||||||
|
|
||||||
|
|
||||||
|
# Error pages
|
||||||
|
error_page 403 /error/403.html;
|
||||||
|
error_page 404 /error/404.html;
|
||||||
|
error_page 502 503 504 /error/50x.html;
|
||||||
|
|
||||||
|
|
||||||
|
# Vhost
|
||||||
|
server {
|
||||||
|
listen 8083;
|
||||||
|
server_name _;
|
||||||
|
root /usr/local/vesta/web;
|
||||||
|
charset utf-8;
|
||||||
|
|
||||||
|
ssl on;
|
||||||
|
ssl_certificate /usr/local/vesta/ssl/certificate.crt;
|
||||||
|
ssl_certificate_key /usr/local/vesta/ssl/certificate.key;
|
||||||
|
ssl_session_cache shared:SSL:10m;
|
||||||
|
ssl_session_timeout 10m;
|
||||||
|
|
||||||
|
error_page 404 /error/index.html;
|
||||||
|
error_page 403 /error/index.html;
|
||||||
|
error_page 500 /error/index.html;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
expires max;
|
||||||
|
index index.php;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /error/ {
|
||||||
|
expires max;
|
||||||
|
index index.html;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /rrd/ {
|
||||||
|
expires off;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /backup/ {
|
||||||
|
root /;
|
||||||
|
internal;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ \.php$ {
|
||||||
|
include /usr/local/vesta/nginx/conf/fastcgi_params;
|
||||||
|
fastcgi_param SCRIPT_FILENAME /usr/local/vesta/web/$fastcgi_script_name;
|
||||||
|
fastcgi_param QUERY_STRING $query_string;
|
||||||
|
fastcgi_pass unix:/var/run/vesta-php.sock;
|
||||||
|
fastcgi_intercept_errors on;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
497
src/rpm/conf/php-fpm.conf
Executable file
497
src/rpm/conf/php-fpm.conf
Executable file
|
@ -0,0 +1,497 @@
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
; FPM Configuration ;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
; All relative paths in this configuration file are relative to PHP's install
|
||||||
|
; prefix (/usr/local/vesta/php). This prefix can be dynamicaly changed by using the
|
||||||
|
; '-p' argument from the command line.
|
||||||
|
|
||||||
|
; Include one or more files. If glob(3) exists, it is used to include a bunch of
|
||||||
|
; files from a glob(3) pattern. This directive can be used everywhere in the
|
||||||
|
; file.
|
||||||
|
; Relative path can also be used. They will be prefixed by:
|
||||||
|
; - the global prefix if it's been set (-p arguement)
|
||||||
|
; - /usr/local/vesta/php otherwise
|
||||||
|
;include=etc/fpm.d/*.conf
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;
|
||||||
|
; Global Options ;
|
||||||
|
;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
[global]
|
||||||
|
; Pid file
|
||||||
|
; Note: the default prefix is /usr/local/vesta/php/var
|
||||||
|
; Default Value: none
|
||||||
|
pid = /var/run/vesta-php.pid
|
||||||
|
|
||||||
|
; Error log file
|
||||||
|
; If it's set to "syslog", log is sent to syslogd instead of being written
|
||||||
|
; in a local file.
|
||||||
|
; Note: the default prefix is /usr/local/vesta/php/var
|
||||||
|
; Default Value: log/php-fpm.log
|
||||||
|
;error_log = log/php-fpm.log
|
||||||
|
|
||||||
|
; syslog_facility is used to specify what type of program is logging the
|
||||||
|
; message. This lets syslogd specify that messages from different facilities
|
||||||
|
; will be handled differently.
|
||||||
|
; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON)
|
||||||
|
; Default Value: daemon
|
||||||
|
;syslog.facility = daemon
|
||||||
|
|
||||||
|
; syslog_ident is prepended to every message. If you have multiple FPM
|
||||||
|
; instances running on the same server, you can change the default value
|
||||||
|
; which must suit common needs.
|
||||||
|
; Default Value: php-fpm
|
||||||
|
;syslog.ident = php-fpm
|
||||||
|
|
||||||
|
; Log level
|
||||||
|
; Possible Values: alert, error, warning, notice, debug
|
||||||
|
; Default Value: notice
|
||||||
|
;log_level = notice
|
||||||
|
|
||||||
|
; If this number of child processes exit with SIGSEGV or SIGBUS within the time
|
||||||
|
; interval set by emergency_restart_interval then FPM will restart. A value
|
||||||
|
; of '0' means 'Off'.
|
||||||
|
; Default Value: 0
|
||||||
|
;emergency_restart_threshold = 0
|
||||||
|
|
||||||
|
; Interval of time used by emergency_restart_interval to determine when
|
||||||
|
; a graceful restart will be initiated. This can be useful to work around
|
||||||
|
; accidental corruptions in an accelerator's shared memory.
|
||||||
|
; Available Units: s(econds), m(inutes), h(ours), or d(ays)
|
||||||
|
; Default Unit: seconds
|
||||||
|
; Default Value: 0
|
||||||
|
;emergency_restart_interval = 0
|
||||||
|
|
||||||
|
; Time limit for child processes to wait for a reaction on signals from master.
|
||||||
|
; Available units: s(econds), m(inutes), h(ours), or d(ays)
|
||||||
|
; Default Unit: seconds
|
||||||
|
; Default Value: 0
|
||||||
|
;process_control_timeout = 0
|
||||||
|
|
||||||
|
; The maximum number of processes FPM will fork. This has been design to control
|
||||||
|
; the global number of processes when using dynamic PM within a lot of pools.
|
||||||
|
; Use it with caution.
|
||||||
|
; Note: A value of 0 indicates no limit
|
||||||
|
; Default Value: 0
|
||||||
|
; process.max = 128
|
||||||
|
|
||||||
|
; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
|
||||||
|
; Default Value: yes
|
||||||
|
;daemonize = yes
|
||||||
|
|
||||||
|
; Set open file descriptor rlimit for the master process.
|
||||||
|
; Default Value: system defined value
|
||||||
|
;rlimit_files = 1024
|
||||||
|
|
||||||
|
; Set max core size rlimit for the master process.
|
||||||
|
; Possible Values: 'unlimited' or an integer greater or equal to 0
|
||||||
|
; Default Value: system defined value
|
||||||
|
;rlimit_core = 0
|
||||||
|
|
||||||
|
; Specify the event mechanism FPM will use. The following is available:
|
||||||
|
; - select (any POSIX os)
|
||||||
|
; - poll (any POSIX os)
|
||||||
|
; - epoll (linux >= 2.5.44)
|
||||||
|
; - kqueue (FreeBSD >= 4.1, OpenBSD >= 2.9, NetBSD >= 2.0)
|
||||||
|
; - /dev/poll (Solaris >= 7)
|
||||||
|
; - port (Solaris >= 10)
|
||||||
|
; Default Value: not set (auto detection)
|
||||||
|
; events.mechanism = epoll
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;
|
||||||
|
; Pool Definitions ;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
; Multiple pools of child processes may be started with different listening
|
||||||
|
; ports and different management options. The name of the pool will be
|
||||||
|
; used in logs and stats. There is no limitation on the number of pools which
|
||||||
|
; FPM can handle. Your system will tell you anyway :)
|
||||||
|
|
||||||
|
; Start a new pool named 'www'.
|
||||||
|
; the variable $pool can we used in any directive and will be replaced by the
|
||||||
|
; pool name ('www' here)
|
||||||
|
[www]
|
||||||
|
|
||||||
|
; Per pool prefix
|
||||||
|
; It only applies on the following directives:
|
||||||
|
; - 'slowlog'
|
||||||
|
; - 'listen' (unixsocket)
|
||||||
|
; - 'chroot'
|
||||||
|
; - 'chdir'
|
||||||
|
; - 'php_values'
|
||||||
|
; - 'php_admin_values'
|
||||||
|
; When not set, the global prefix (or /usr/local/vesta/php) applies instead.
|
||||||
|
; Note: This directive can also be relative to the global prefix.
|
||||||
|
; Default Value: none
|
||||||
|
;prefix = /path/to/pools/$pool
|
||||||
|
|
||||||
|
; Unix user/group of processes
|
||||||
|
; Note: The user is mandatory. If the group is not set, the default user's group
|
||||||
|
; will be used.
|
||||||
|
user = admin
|
||||||
|
group = admin
|
||||||
|
|
||||||
|
; The address on which to accept FastCGI requests.
|
||||||
|
; Valid syntaxes are:
|
||||||
|
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on
|
||||||
|
; a specific port;
|
||||||
|
; 'port' - to listen on a TCP socket to all addresses on a
|
||||||
|
; specific port;
|
||||||
|
; '/path/to/unix/socket' - to listen on a unix socket.
|
||||||
|
; Note: This value is mandatory.
|
||||||
|
;listen = 127.0.0.1:9000
|
||||||
|
listen = /var/run/vesta-php.sock
|
||||||
|
|
||||||
|
; Set listen(2) backlog.
|
||||||
|
; Default Value: 128 (-1 on FreeBSD and OpenBSD)
|
||||||
|
;listen.backlog = 128
|
||||||
|
|
||||||
|
; Set permissions for unix socket, if one is used. In Linux, read/write
|
||||||
|
; permissions must be set in order to allow connections from a web server. Many
|
||||||
|
; BSD-derived systems allow connections regardless of permissions.
|
||||||
|
; Default Values: user and group are set as the running user
|
||||||
|
; mode is set to 0666
|
||||||
|
listen.owner = admin
|
||||||
|
listen.group = admin
|
||||||
|
listen.mode = 0660
|
||||||
|
|
||||||
|
; List of ipv4 addresses of FastCGI clients which are allowed to connect.
|
||||||
|
; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original
|
||||||
|
; PHP FCGI (5.2.2+). Makes sense only with a tcp listening socket. Each address
|
||||||
|
; must be separated by a comma. If this value is left blank, connections will be
|
||||||
|
; accepted from any ip address.
|
||||||
|
; Default Value: any
|
||||||
|
;listen.allowed_clients = 127.0.0.1
|
||||||
|
|
||||||
|
; Choose how the process manager will control the number of child processes.
|
||||||
|
; Possible Values:
|
||||||
|
; static - a fixed number (pm.max_children) of child processes;
|
||||||
|
; dynamic - the number of child processes are set dynamically based on the
|
||||||
|
; following directives. With this process management, there will be
|
||||||
|
; always at least 1 children.
|
||||||
|
; pm.max_children - the maximum number of children that can
|
||||||
|
; be alive at the same time.
|
||||||
|
; pm.start_servers - the number of children created on startup.
|
||||||
|
; pm.min_spare_servers - the minimum number of children in 'idle'
|
||||||
|
; state (waiting to process). If the number
|
||||||
|
; of 'idle' processes is less than this
|
||||||
|
; number then some children will be created.
|
||||||
|
; pm.max_spare_servers - the maximum number of children in 'idle'
|
||||||
|
; state (waiting to process). If the number
|
||||||
|
; of 'idle' processes is greater than this
|
||||||
|
; number then some children will be killed.
|
||||||
|
; ondemand - no children are created at startup. Children will be forked when
|
||||||
|
; new requests will connect. The following parameter are used:
|
||||||
|
; pm.max_children - the maximum number of children that
|
||||||
|
; can be alive at the same time.
|
||||||
|
; pm.process_idle_timeout - The number of seconds after which
|
||||||
|
; an idle process will be killed.
|
||||||
|
; Note: This value is mandatory.
|
||||||
|
pm = dynamic
|
||||||
|
|
||||||
|
; The number of child processes to be created when pm is set to 'static' and the
|
||||||
|
; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'.
|
||||||
|
; This value sets the limit on the number of simultaneous requests that will be
|
||||||
|
; served. Equivalent to the ApacheMaxClients directive with mpm_prefork.
|
||||||
|
; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP
|
||||||
|
; CGI. The below defaults are based on a server without much resources. Don't
|
||||||
|
; forget to tweak pm.* to fit your needs.
|
||||||
|
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
|
||||||
|
; Note: This value is mandatory.
|
||||||
|
pm.max_children = 5
|
||||||
|
|
||||||
|
; The number of child processes created on startup.
|
||||||
|
; Note: Used only when pm is set to 'dynamic'
|
||||||
|
; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
|
||||||
|
pm.start_servers = 2
|
||||||
|
|
||||||
|
; The desired minimum number of idle server processes.
|
||||||
|
; Note: Used only when pm is set to 'dynamic'
|
||||||
|
; Note: Mandatory when pm is set to 'dynamic'
|
||||||
|
pm.min_spare_servers = 1
|
||||||
|
|
||||||
|
; The desired maximum number of idle server processes.
|
||||||
|
; Note: Used only when pm is set to 'dynamic'
|
||||||
|
; Note: Mandatory when pm is set to 'dynamic'
|
||||||
|
pm.max_spare_servers = 3
|
||||||
|
|
||||||
|
; The number of seconds after which an idle process will be killed.
|
||||||
|
; Note: Used only when pm is set to 'ondemand'
|
||||||
|
; Default Value: 10s
|
||||||
|
;pm.process_idle_timeout = 10s;
|
||||||
|
|
||||||
|
; The number of requests each child process should execute before respawning.
|
||||||
|
; This can be useful to work around memory leaks in 3rd party libraries. For
|
||||||
|
; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.
|
||||||
|
; Default Value: 0
|
||||||
|
;pm.max_requests = 500
|
||||||
|
|
||||||
|
; The URI to view the FPM status page. If this value is not set, no URI will be
|
||||||
|
; recognized as a status page. It shows the following informations:
|
||||||
|
; pool - the name of the pool;
|
||||||
|
; process manager - static, dynamic or ondemand;
|
||||||
|
; start time - the date and time FPM has started;
|
||||||
|
; start since - number of seconds since FPM has started;
|
||||||
|
; accepted conn - the number of request accepted by the pool;
|
||||||
|
; listen queue - the number of request in the queue of pending
|
||||||
|
; connections (see backlog in listen(2));
|
||||||
|
; max listen queue - the maximum number of requests in the queue
|
||||||
|
; of pending connections since FPM has started;
|
||||||
|
; listen queue len - the size of the socket queue of pending connections;
|
||||||
|
; idle processes - the number of idle processes;
|
||||||
|
; active processes - the number of active processes;
|
||||||
|
; total processes - the number of idle + active processes;
|
||||||
|
; max active processes - the maximum number of active processes since FPM
|
||||||
|
; has started;
|
||||||
|
; max children reached - number of times, the process limit has been reached,
|
||||||
|
; when pm tries to start more children (works only for
|
||||||
|
; pm 'dynamic' and 'ondemand');
|
||||||
|
; Value are updated in real time.
|
||||||
|
; Example output:
|
||||||
|
; pool: www
|
||||||
|
; process manager: static
|
||||||
|
; start time: 01/Jul/2011:17:53:49 +0200
|
||||||
|
; start since: 62636
|
||||||
|
; accepted conn: 190460
|
||||||
|
; listen queue: 0
|
||||||
|
; max listen queue: 1
|
||||||
|
; listen queue len: 42
|
||||||
|
; idle processes: 4
|
||||||
|
; active processes: 11
|
||||||
|
; total processes: 15
|
||||||
|
; max active processes: 12
|
||||||
|
; max children reached: 0
|
||||||
|
;
|
||||||
|
; By default the status page output is formatted as text/plain. Passing either
|
||||||
|
; 'html', 'xml' or 'json' in the query string will return the corresponding
|
||||||
|
; output syntax. Example:
|
||||||
|
; http://www.foo.bar/status
|
||||||
|
; http://www.foo.bar/status?json
|
||||||
|
; http://www.foo.bar/status?html
|
||||||
|
; http://www.foo.bar/status?xml
|
||||||
|
;
|
||||||
|
; By default the status page only outputs short status. Passing 'full' in the
|
||||||
|
; query string will also return status for each pool process.
|
||||||
|
; Example:
|
||||||
|
; http://www.foo.bar/status?full
|
||||||
|
; http://www.foo.bar/status?json&full
|
||||||
|
; http://www.foo.bar/status?html&full
|
||||||
|
; http://www.foo.bar/status?xml&full
|
||||||
|
; The Full status returns for each process:
|
||||||
|
; pid - the PID of the process;
|
||||||
|
; state - the state of the process (Idle, Running, ...);
|
||||||
|
; start time - the date and time the process has started;
|
||||||
|
; start since - the number of seconds since the process has started;
|
||||||
|
; requests - the number of requests the process has served;
|
||||||
|
; request duration - the duration in µs of the requests;
|
||||||
|
; request method - the request method (GET, POST, ...);
|
||||||
|
; request URI - the request URI with the query string;
|
||||||
|
; content length - the content length of the request (only with POST);
|
||||||
|
; user - the user (PHP_AUTH_USER) (or '-' if not set);
|
||||||
|
; script - the main script called (or '-' if not set);
|
||||||
|
; last request cpu - the %cpu the last request consumed
|
||||||
|
; it's always 0 if the process is not in Idle state
|
||||||
|
; because CPU calculation is done when the request
|
||||||
|
; processing has terminated;
|
||||||
|
; last request memory - the max amount of memory the last request consumed
|
||||||
|
; it's always 0 if the process is not in Idle state
|
||||||
|
; because memory calculation is done when the request
|
||||||
|
; processing has terminated;
|
||||||
|
; If the process is in Idle state, then informations are related to the
|
||||||
|
; last request the process has served. Otherwise informations are related to
|
||||||
|
; the current request being served.
|
||||||
|
; Example output:
|
||||||
|
; ************************
|
||||||
|
; pid: 31330
|
||||||
|
; state: Running
|
||||||
|
; start time: 01/Jul/2011:17:53:49 +0200
|
||||||
|
; start since: 63087
|
||||||
|
; requests: 12808
|
||||||
|
; request duration: 1250261
|
||||||
|
; request method: GET
|
||||||
|
; request URI: /test_mem.php?N=10000
|
||||||
|
; content length: 0
|
||||||
|
; user: -
|
||||||
|
; script: /home/fat/web/docs/php/test_mem.php
|
||||||
|
; last request cpu: 0.00
|
||||||
|
; last request memory: 0
|
||||||
|
;
|
||||||
|
; Note: There is a real-time FPM status monitoring sample web page available
|
||||||
|
; It's available in: ${prefix}/share/fpm/status.html
|
||||||
|
;
|
||||||
|
; Note: The value must start with a leading slash (/). The value can be
|
||||||
|
; anything, but it may not be a good idea to use the .php extension or it
|
||||||
|
; may conflict with a real PHP file.
|
||||||
|
; Default Value: not set
|
||||||
|
;pm.status_path = /status
|
||||||
|
|
||||||
|
; The ping URI to call the monitoring page of FPM. If this value is not set, no
|
||||||
|
; URI will be recognized as a ping page. This could be used to test from outside
|
||||||
|
; that FPM is alive and responding, or to
|
||||||
|
; - create a graph of FPM availability (rrd or such);
|
||||||
|
; - remove a server from a group if it is not responding (load balancing);
|
||||||
|
; - trigger alerts for the operating team (24/7).
|
||||||
|
; Note: The value must start with a leading slash (/). The value can be
|
||||||
|
; anything, but it may not be a good idea to use the .php extension or it
|
||||||
|
; may conflict with a real PHP file.
|
||||||
|
; Default Value: not set
|
||||||
|
;ping.path = /ping
|
||||||
|
|
||||||
|
; This directive may be used to customize the response of a ping request. The
|
||||||
|
; response is formatted as text/plain with a 200 response code.
|
||||||
|
; Default Value: pong
|
||||||
|
;ping.response = pong
|
||||||
|
|
||||||
|
; The access log file
|
||||||
|
; Default: not set
|
||||||
|
;access.log = log/$pool.access.log
|
||||||
|
|
||||||
|
; The access log format.
|
||||||
|
; The following syntax is allowed
|
||||||
|
; %%: the '%' character
|
||||||
|
; %C: %CPU used by the request
|
||||||
|
; it can accept the following format:
|
||||||
|
; - %{user}C for user CPU only
|
||||||
|
; - %{system}C for system CPU only
|
||||||
|
; - %{total}C for user + system CPU (default)
|
||||||
|
; %d: time taken to serve the request
|
||||||
|
; it can accept the following format:
|
||||||
|
; - %{seconds}d (default)
|
||||||
|
; - %{miliseconds}d
|
||||||
|
; - %{mili}d
|
||||||
|
; - %{microseconds}d
|
||||||
|
; - %{micro}d
|
||||||
|
; %e: an environment variable (same as $_ENV or $_SERVER)
|
||||||
|
; it must be associated with embraces to specify the name of the env
|
||||||
|
; variable. Some exemples:
|
||||||
|
; - server specifics like: %{REQUEST_METHOD}e or %{SERVER_PROTOCOL}e
|
||||||
|
; - HTTP headers like: %{HTTP_HOST}e or %{HTTP_USER_AGENT}e
|
||||||
|
; %f: script filename
|
||||||
|
; %l: content-length of the request (for POST request only)
|
||||||
|
; %m: request method
|
||||||
|
; %M: peak of memory allocated by PHP
|
||||||
|
; it can accept the following format:
|
||||||
|
; - %{bytes}M (default)
|
||||||
|
; - %{kilobytes}M
|
||||||
|
; - %{kilo}M
|
||||||
|
; - %{megabytes}M
|
||||||
|
; - %{mega}M
|
||||||
|
; %n: pool name
|
||||||
|
; %o: ouput header
|
||||||
|
; it must be associated with embraces to specify the name of the header:
|
||||||
|
; - %{Content-Type}o
|
||||||
|
; - %{X-Powered-By}o
|
||||||
|
; - %{Transfert-Encoding}o
|
||||||
|
; - ....
|
||||||
|
; %p: PID of the child that serviced the request
|
||||||
|
; %P: PID of the parent of the child that serviced the request
|
||||||
|
; %q: the query string
|
||||||
|
; %Q: the '?' character if query string exists
|
||||||
|
; %r: the request URI (without the query string, see %q and %Q)
|
||||||
|
; %R: remote IP address
|
||||||
|
; %s: status (response code)
|
||||||
|
; %t: server time the request was received
|
||||||
|
; it can accept a strftime(3) format:
|
||||||
|
; %d/%b/%Y:%H:%M:%S %z (default)
|
||||||
|
; %T: time the log has been written (the request has finished)
|
||||||
|
; it can accept a strftime(3) format:
|
||||||
|
; %d/%b/%Y:%H:%M:%S %z (default)
|
||||||
|
; %u: remote user
|
||||||
|
;
|
||||||
|
; Default: "%R - %u %t \"%m %r\" %s"
|
||||||
|
;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%"
|
||||||
|
|
||||||
|
; The log file for slow requests
|
||||||
|
; Default Value: not set
|
||||||
|
; Note: slowlog is mandatory if request_slowlog_timeout is set
|
||||||
|
;slowlog = log/$pool.log.slow
|
||||||
|
|
||||||
|
; The timeout for serving a single request after which a PHP backtrace will be
|
||||||
|
; dumped to the 'slowlog' file. A value of '0s' means 'off'.
|
||||||
|
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
|
||||||
|
; Default Value: 0
|
||||||
|
;request_slowlog_timeout = 0
|
||||||
|
|
||||||
|
; The timeout for serving a single request after which the worker process will
|
||||||
|
; be killed. This option should be used when the 'max_execution_time' ini option
|
||||||
|
; does not stop script execution for some reason. A value of '0' means 'off'.
|
||||||
|
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
|
||||||
|
; Default Value: 0
|
||||||
|
;request_terminate_timeout = 0
|
||||||
|
|
||||||
|
; Set open file descriptor rlimit.
|
||||||
|
; Default Value: system defined value
|
||||||
|
;rlimit_files = 1024
|
||||||
|
|
||||||
|
; Set max core size rlimit.
|
||||||
|
; Possible Values: 'unlimited' or an integer greater or equal to 0
|
||||||
|
; Default Value: system defined value
|
||||||
|
;rlimit_core = 0
|
||||||
|
|
||||||
|
; Chroot to this directory at the start. This value must be defined as an
|
||||||
|
; absolute path. When this value is not set, chroot is not used.
|
||||||
|
; Note: you can prefix with '$prefix' to chroot to the pool prefix or one
|
||||||
|
; of its subdirectories. If the pool prefix is not set, the global prefix
|
||||||
|
; will be used instead.
|
||||||
|
; Note: chrooting is a great security feature and should be used whenever
|
||||||
|
; possible. However, all PHP paths will be relative to the chroot
|
||||||
|
; (error_log, sessions.save_path, ...).
|
||||||
|
; Default Value: not set
|
||||||
|
;chroot =
|
||||||
|
|
||||||
|
; Chdir to this directory at the start.
|
||||||
|
; Note: relative path can be used.
|
||||||
|
; Default Value: current directory or / when chroot
|
||||||
|
;chdir = /var/www
|
||||||
|
|
||||||
|
; Redirect worker stdout and stderr into main error log. If not set, stdout and
|
||||||
|
; stderr will be redirected to /dev/null according to FastCGI specs.
|
||||||
|
; Note: on highloaded environement, this can cause some delay in the page
|
||||||
|
; process time (several ms).
|
||||||
|
; Default Value: no
|
||||||
|
;catch_workers_output = yes
|
||||||
|
|
||||||
|
; Limits the extensions of the main script FPM will allow to parse. This can
|
||||||
|
; prevent configuration mistakes on the web server side. You should only limit
|
||||||
|
; FPM to .php extensions to prevent malicious users to use other extensions to
|
||||||
|
; exectute php code.
|
||||||
|
; Note: set an empty value to allow all extensions.
|
||||||
|
; Default Value: .php
|
||||||
|
;security.limit_extensions = .php .php3 .php4 .php5
|
||||||
|
|
||||||
|
; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
|
||||||
|
; the current environment.
|
||||||
|
; Default Value: clean env
|
||||||
|
env[HOSTNAME] = $HOSTNAME
|
||||||
|
env[PATH] = /usr/local/bin:/usr/bin:/bin
|
||||||
|
env[TMP] = /tmp
|
||||||
|
env[TMPDIR] = /tmp
|
||||||
|
env[TEMP] = /tmp
|
||||||
|
env[VESTA] = $VESTA
|
||||||
|
env[LANG] = en_US.UTF-8
|
||||||
|
|
||||||
|
; Additional php.ini defines, specific to this pool of workers. These settings
|
||||||
|
; overwrite the values previously defined in the php.ini. The directives are the
|
||||||
|
; same as the PHP SAPI:
|
||||||
|
; php_value/php_flag - you can set classic ini defines which can
|
||||||
|
; be overwritten from PHP call 'ini_set'.
|
||||||
|
; php_admin_value/php_admin_flag - these directives won't be overwritten by
|
||||||
|
; PHP call 'ini_set'
|
||||||
|
; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no.
|
||||||
|
|
||||||
|
; Defining 'extension' will load the corresponding shared extension from
|
||||||
|
; extension_dir. Defining 'disable_functions' or 'disable_classes' will not
|
||||||
|
; overwrite previously defined php.ini values, but will append the new value
|
||||||
|
; instead.
|
||||||
|
|
||||||
|
; Note: path INI options can be relative and will be expanded with the prefix
|
||||||
|
; (pool, global or /usr/local/vesta/php)
|
||||||
|
|
||||||
|
; Default Value: nothing is defined by default except the values in php.ini and
|
||||||
|
; specified at startup with the -d argument
|
||||||
|
;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
|
||||||
|
;php_flag[display_errors] = off
|
||||||
|
;php_admin_value[error_log] = /var/log/fpm-php.www.log
|
||||||
|
;php_admin_flag[log_errors] = on
|
||||||
|
;php_admin_value[memory_limit] = 32M
|
1249
src/rpm/conf/php.ini
Normal file
1249
src/rpm/conf/php.ini
Normal file
File diff suppressed because it is too large
Load diff
101
src/rpm/conf/vesta.init
Executable file
101
src/rpm/conf/vesta.init
Executable file
|
@ -0,0 +1,101 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# nginx
|
||||||
|
# php-fpm
|
||||||
|
#
|
||||||
|
# chkconfig: - 85 15
|
||||||
|
# description: Run vesta web server
|
||||||
|
# processname: vesta
|
||||||
|
. /etc/rc.d/init.d/functions
|
||||||
|
|
||||||
|
# Vesta PATH
|
||||||
|
. /etc/profile.d/vesta.sh
|
||||||
|
|
||||||
|
# Source networking configuration.
|
||||||
|
. /etc/sysconfig/network
|
||||||
|
|
||||||
|
# Check that networking is up.
|
||||||
|
[ "$NETWORKING" = "no" ] && exit 0
|
||||||
|
|
||||||
|
nginx="/usr/local/vesta/nginx/sbin/vesta-nginx"
|
||||||
|
nignx_conf="/usr/local/vesta/nginx/conf/nginx.conf"
|
||||||
|
php="/usr/local/vesta/php/sbin/vesta-php"
|
||||||
|
php_conf="/usr/local/vesta/php/etc/php-fpm.conf"
|
||||||
|
|
||||||
|
vesta_user=admin
|
||||||
|
vesta_group=admin
|
||||||
|
|
||||||
|
start() {
|
||||||
|
[ -x $nginx ] || exit 5
|
||||||
|
[ -f $nignx_conf ] || exit 6
|
||||||
|
[ -x $php ] || exit 1
|
||||||
|
[ -f $php_conf ] || exit 2
|
||||||
|
|
||||||
|
echo -n $"Starting vesta-nginx: "
|
||||||
|
daemon $nginx
|
||||||
|
retval=$?
|
||||||
|
echo
|
||||||
|
[[ $retval -ne 0 ]] && exit $retval
|
||||||
|
|
||||||
|
echo -n $"Starting vesta-php: "
|
||||||
|
daemon $php
|
||||||
|
echo
|
||||||
|
return $retval
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
echo -n $"Stopping vesta-nginx: "
|
||||||
|
killproc -p /var/run/vesta-nginx.pid vesta-nginx -QUIT
|
||||||
|
retval=$?
|
||||||
|
echo
|
||||||
|
[ -f ${pidfile} ] && /bin/rm -f ${pidfile}
|
||||||
|
[[ $retval -ne 0 ]] && exit $retval
|
||||||
|
|
||||||
|
echo -n $"Stopping vesta-php: "
|
||||||
|
killproc -p /var/run/vesta-php.pid vesta-php -QUIT
|
||||||
|
retval=$?
|
||||||
|
echo
|
||||||
|
[ -f /var/run/vesta-php.pid ] && /bin/rm -f /var/run/vesta-php.pid
|
||||||
|
[ -f /var/run/vesta-php.sock ] && /bin/rm -f /var/run/vesta-php.sock
|
||||||
|
return $retval
|
||||||
|
}
|
||||||
|
|
||||||
|
restart(){
|
||||||
|
stop
|
||||||
|
start
|
||||||
|
}
|
||||||
|
|
||||||
|
reload() {
|
||||||
|
echo -n $"Reloading vesta-nginx: "
|
||||||
|
killproc -p /var/run/vesta-nginx.pid vesta-nginx -USR2
|
||||||
|
retval=$?
|
||||||
|
echo
|
||||||
|
[[ $retval -ne 0 ]] && exit $retval
|
||||||
|
|
||||||
|
echo -n $"Reloading vesta-php: "
|
||||||
|
killproc -p /var/run/vesta-php.pid vesta-php -USR2
|
||||||
|
retval=$?
|
||||||
|
echo
|
||||||
|
return $retval
|
||||||
|
}
|
||||||
|
|
||||||
|
rh_status(){
|
||||||
|
status -p /var/run/vesta-nginx.pid vesta-nginx
|
||||||
|
status -p /var/run/vesta-php.pid vesta-php
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
start;;
|
||||||
|
stop)
|
||||||
|
stop;;
|
||||||
|
restart)
|
||||||
|
restart;;
|
||||||
|
reload)
|
||||||
|
reload;;
|
||||||
|
status)
|
||||||
|
rh_status;;
|
||||||
|
*)
|
||||||
|
echo $"Usage: $0 {start|stop|restart|reload|status}"
|
||||||
|
exit 3
|
||||||
|
esac
|
60
src/rpm/specs/vesta-nginx.spec
Normal file
60
src/rpm/specs/vesta-nginx.spec
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
Name: vesta-nginx
|
||||||
|
Version: 0.9.7
|
||||||
|
Release: 2
|
||||||
|
Summary: Vesta Control Panel
|
||||||
|
Group: System Environment/Base
|
||||||
|
License: BSD-like
|
||||||
|
URL: http://vestacp.com/
|
||||||
|
Vendor: vestacp.com
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
Source1: nginx.conf
|
||||||
|
Source2: vesta.init
|
||||||
|
Requires: redhat-release >= 5
|
||||||
|
Provides: vesta-nginx
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains nginx webserver for Vesta Control Panel web interface.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
./configure --prefix=/usr/local/vesta/nginx --with-http_ssl_module
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=%{buildroot} INSTALLDIRS=vendor
|
||||||
|
%{__install} -p -D -m 0755 %{SOURCE1} %{buildroot}/usr/local/vesta/nginx/conf/nginx.conf
|
||||||
|
%{__install} -p -D -m 0755 %{SOURCE2} %{buildroot}%{_initrddir}/vesta
|
||||||
|
%{__install} -p -D -m 0755 %{buildroot}/usr/local/vesta/nginx/sbin/nginx %{buildroot}/usr/local/vesta/nginx/sbin/vesta-nginx
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/chkconfig --add vesta
|
||||||
|
|
||||||
|
%preun
|
||||||
|
if [ $1 = 0 ]; then
|
||||||
|
/sbin/service vesta stop >/dev/null 2>&1
|
||||||
|
/sbin/chkconfig --del vesta
|
||||||
|
fi
|
||||||
|
|
||||||
|
%postun
|
||||||
|
if [ $1 -ge 1 ]; then
|
||||||
|
if [ -e "/var/run/vesta-nginx.pid" ]; then
|
||||||
|
/sbin/service vesta restart > /dev/null 2>&1 || :
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%attr(755,root,root) /usr/local/vesta/nginx
|
||||||
|
%{_initrddir}/vesta
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Apr 06 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-2
|
||||||
|
- new init script
|
||||||
|
|
||||||
|
* Wed Jun 27 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-1
|
||||||
|
- initial build
|
62
src/rpm/specs/vesta-php.spec
Normal file
62
src/rpm/specs/vesta-php.spec
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
Name: vesta-php
|
||||||
|
Version: 0.9.7
|
||||||
|
Release: 3
|
||||||
|
Summary: Vesta Control Panel
|
||||||
|
Group: System Environment/Base
|
||||||
|
License: GPL
|
||||||
|
URL: http://vestacp.com/
|
||||||
|
Vendor: vestacp.com
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
Source1: php.ini
|
||||||
|
Source2: php-fpm.conf
|
||||||
|
Requires: redhat-release >= 5
|
||||||
|
Provides: vesta-php
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains php-cgi for Vesta Control Panel web interface.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
./configure --prefix=/usr/local/vesta/php --enable-fpm --with-fpm-user=admin --with-fpm-group=admin
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install INSTALL_ROOT=%{buildroot} INSTALLDIRS=vendor
|
||||||
|
install -p -D -m 0755 %{SOURCE1} %{buildroot}/usr/local/vesta/php/lib/
|
||||||
|
%{__install} -p -D -m 0755 %{SOURCE2} %{buildroot}/usr/local/vesta/php/etc/
|
||||||
|
%{__install} -p -D -m 0755 %{buildroot}/usr/local/vesta/php/sbin/php-fpm %{buildroot}/usr/local/vesta/php/sbin/vesta-php
|
||||||
|
|
||||||
|
|
||||||
|
rm -rf $RPM_BUILD_ROOT/.channels
|
||||||
|
rm -rf $RPM_BUILD_ROOT/.depdb
|
||||||
|
rm -rf $RPM_BUILD_ROOT/.depdblock
|
||||||
|
rm -rf $RPM_BUILD_ROOT/.filemap
|
||||||
|
rm -rf $RPM_BUILD_ROOT/.lock
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%postun
|
||||||
|
if [ $1 -ge 1 ]; then
|
||||||
|
if [ -e "/var/run/vesta-php.pid" ]; then
|
||||||
|
/sbin/service vesta restart > /dev/null 2>&1 || :
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%attr(755,root,root) /usr/local/vesta/php
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Mar 05 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-3
|
||||||
|
- Added LANG variable to evn in php-fpm.conf
|
||||||
|
|
||||||
|
* Wed Jun 27 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-2
|
||||||
|
- Added LANG variable to evn in php-fpm.conf
|
||||||
|
|
||||||
|
* Wed Jun 27 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-1
|
||||||
|
- initial php build
|
311
src/rpm/specs/vesta.spec
Normal file
311
src/rpm/specs/vesta.spec
Normal file
|
@ -0,0 +1,311 @@
|
||||||
|
Name: vesta
|
||||||
|
Version: 0.9.8
|
||||||
|
Release: 3
|
||||||
|
Summary: Vesta Control Panel
|
||||||
|
Group: System Environment/Base
|
||||||
|
License: GPL
|
||||||
|
URL: http://vestacp.com/
|
||||||
|
Vendor: vestacp.com
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
Requires: redhat-release >= 5
|
||||||
|
Provides: vestacp vesta-api vesta
|
||||||
|
|
||||||
|
%define _vestadir /usr/local/%{name}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains the packages for Vesta Control Panel api.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
gcc -lcrypt src/v-check-user-password.c -o bin/v-check-user-password
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -d %{buildroot}%{_vestadir}
|
||||||
|
%{__cp} -ad ./* %{buildroot}%{_vestadir}
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%post
|
||||||
|
if [ $1 -ge 2 ]; then
|
||||||
|
if [ -e /usr/local/vesta/upd/convert-templates.sh ]; then
|
||||||
|
/usr/local/vesta/upd/convert-templates.sh
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_vestadir}
|
||||||
|
%config(noreplace) %{_vestadir}/web/images/logo.png
|
||||||
|
%config(noreplace) %{_vestadir}/web/images/favicon.ico
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jul 29 2013 Serghey Rodin <builder@vestacp.com> - 0.9.8-3
|
||||||
|
- Fixed issue with uppercase domains
|
||||||
|
- Implemented JS hints when adding database or ftp domain
|
||||||
|
- Package trigger support
|
||||||
|
- Improved html structure
|
||||||
|
- Debian/Ubuntu addoptation
|
||||||
|
- Czech language support
|
||||||
|
|
||||||
|
|
||||||
|
* Mon Jun 10 2013 Serghey Rodin <builder@vestacp.com> - 0.9.8-2
|
||||||
|
- Fixed missing ssl certificate on restore
|
||||||
|
- Fixed wrong disk usage key
|
||||||
|
- Added nginx trigger for templates
|
||||||
|
- Added template update function
|
||||||
|
|
||||||
|
|
||||||
|
* Mon May 27 2013 Serghey Rodin <builder@vestacp.com> - 0.9.8-1
|
||||||
|
- DNS Cluster
|
||||||
|
- JS: select checkbox by clicking on a row
|
||||||
|
- Record order change functions
|
||||||
|
- Fix for ns3 and ns4 support
|
||||||
|
- Web-log viewer
|
||||||
|
- Fixed i18n login bug
|
||||||
|
- New template logic
|
||||||
|
- RSSH shell on additional web users
|
||||||
|
- Romanian language file
|
||||||
|
- Edit user from topmenu links
|
||||||
|
- Highlighted active links
|
||||||
|
|
||||||
|
* Mon Apr 08 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-21
|
||||||
|
- Fix for null data in bandwidth calculation
|
||||||
|
- Fix from Magentron for updating or deleting SSL certificates
|
||||||
|
- Fix from Magentron for database host validation
|
||||||
|
|
||||||
|
* Fri Apr 05 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-21
|
||||||
|
- i18n fix for IDN domain names
|
||||||
|
- fixed bandwidth calculation
|
||||||
|
|
||||||
|
* Tue Apr 03 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-20
|
||||||
|
- email notifcation on backup error
|
||||||
|
- backup now saves file permissions
|
||||||
|
- web backup scheduler
|
||||||
|
- improved web/dns rebuild functions
|
||||||
|
- fix for idn mail domains
|
||||||
|
- added script for ftp backup config
|
||||||
|
- added restore function
|
||||||
|
- added vsftpd pasv_address trigger
|
||||||
|
- SNI support on shared IP
|
||||||
|
- Increasing contrast on top panel
|
||||||
|
- Nginx repo integration
|
||||||
|
- Improved template structure
|
||||||
|
|
||||||
|
* Thu Mar 05 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-19
|
||||||
|
- Inconsistent archive removal when backup failed
|
||||||
|
- Fixed mail config removal
|
||||||
|
- Removed email notification if database hasn't been created
|
||||||
|
- Fixed BW calculation bug
|
||||||
|
- Spanish translation
|
||||||
|
- APC will be installed by default
|
||||||
|
- Even more clean looking html
|
||||||
|
|
||||||
|
* Wed Feb 27 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-18
|
||||||
|
- Web API wrapper
|
||||||
|
- WHMCS support module
|
||||||
|
- Reread system ip addresses function
|
||||||
|
- Fix for missing package names begin with numbers
|
||||||
|
- Fixed bug on ip removal
|
||||||
|
- Fix for shell change in package
|
||||||
|
- HTML code fix for submenu
|
||||||
|
- Fix for broken dns unsuspend function
|
||||||
|
- Improved traffic calc function
|
||||||
|
- Fixed incomplete mail account listing bug
|
||||||
|
|
||||||
|
* Mon Feb 18 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-17
|
||||||
|
- fixed blank screen on bad login
|
||||||
|
- ftp account uid same as uid of main user
|
||||||
|
- support for NATed network
|
||||||
|
- phpMyadmin/pgMyAdmin links to remote database servers
|
||||||
|
- new installer (info about packages)
|
||||||
|
- dns records remains alive on suspend
|
||||||
|
|
||||||
|
* Mon Jan 28 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-16
|
||||||
|
- new color scheme
|
||||||
|
- i18n support
|
||||||
|
- idn fix for awstats
|
||||||
|
- service manager
|
||||||
|
- web updater
|
||||||
|
|
||||||
|
* Mon Jan 14 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-15
|
||||||
|
- replaced underlines in rebuild script
|
||||||
|
- less history to improve listing speed
|
||||||
|
- proper perms for fcgid in rebuild script
|
||||||
|
- improved domain validation
|
||||||
|
- added dash as a valid character for templates
|
||||||
|
|
||||||
|
* Tue Jan 08 2013 Serghey Rodin <builder@vestacp.com> - 0.9.7-14
|
||||||
|
- display full emailbox on edit page
|
||||||
|
- submenu scroling visabilty
|
||||||
|
- uppercase arguments in cli help message
|
||||||
|
- webmail reset function
|
||||||
|
- more contrast on topmenu
|
||||||
|
- special info line for dns records and mail account listing
|
||||||
|
- number of records on "list records" button
|
||||||
|
- send database credentials to email
|
||||||
|
- nonreplaceble logo.png
|
||||||
|
- added verification for none uniq ftp account
|
||||||
|
|
||||||
|
* Mon Dec 24 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-13
|
||||||
|
- imroved ssl certificate validation
|
||||||
|
- added links in return status string
|
||||||
|
- disabled database charset validation
|
||||||
|
- renamed css styles to prevent blocking from adblock
|
||||||
|
- fixed cgi-bin permissions for mod_fcgid
|
||||||
|
- excluded threads from rrd procs calculation
|
||||||
|
- added overall monthly statistics
|
||||||
|
- improved dns expiriation date formating
|
||||||
|
- navigation menu improvements
|
||||||
|
|
||||||
|
* Mon Dec 17 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-12
|
||||||
|
- renamed SSL Certificate Authority field
|
||||||
|
- fixed history log page for users
|
||||||
|
|
||||||
|
* Sun Dec 16 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-11
|
||||||
|
- disabled ssl check function for startssl certificates
|
||||||
|
|
||||||
|
* Sun Dec 16 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-10
|
||||||
|
- fixed bug in ip change function
|
||||||
|
- replaced cancel with back on control buttons
|
||||||
|
|
||||||
|
* Sat Dec 01 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-3
|
||||||
|
- hotfix for mysql unsuspend function
|
||||||
|
|
||||||
|
* Thu Nov 29 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-2
|
||||||
|
- hotfix for user valudation function
|
||||||
|
|
||||||
|
* Sun Jul 01 2012 Serghey Rodin <builder@vestacp.com> - 0.9.7-1
|
||||||
|
- New web interface
|
||||||
|
- Mail api
|
||||||
|
- Changed vesta user with admin
|
||||||
|
|
||||||
|
* Wed Jan 25 2012 Serghey Rodin <builder@vestacp.com> - 0.9.6-3
|
||||||
|
- Alpha preview of 'login as' function
|
||||||
|
|
||||||
|
* Tue Jan 24 2012 Serghey Rodin <builder@vestacp.com> - 0.9.6-2
|
||||||
|
- Bugfix: nginx include + dublicate ip adresses in listing
|
||||||
|
|
||||||
|
* Tue Jan 17 2012 Serghey Rodin <builder@vestacp.com> - 0.9.6-1
|
||||||
|
- Web interface
|
||||||
|
- Rebuild functions
|
||||||
|
- RRD support
|
||||||
|
- SSL Certificate Authority support
|
||||||
|
- New return codes
|
||||||
|
- ServerAlias 8k issue
|
||||||
|
- Autodocumentation
|
||||||
|
|
||||||
|
* Tue Sep 13 2011 Serghey Rodin <builder@vestacp.com> - 0.9.5-2
|
||||||
|
- small fixes to domain function
|
||||||
|
|
||||||
|
* Tue Sep 13 2011 Serghey Rodin <builder@vestacp.com> - 0.9.5-1
|
||||||
|
- added mpm itk, fcgi, mod_ruid2 support
|
||||||
|
- changed permissions in bin directory
|
||||||
|
- new scripts v_del_sys_user v_list_sys_user_childs v_rebuild_dns_domains
|
||||||
|
- removed backup.pipe
|
||||||
|
- renamed reseller.conf to child.conf
|
||||||
|
- complex dns format validator
|
||||||
|
- added new key for disk usage U_DIR_DISK
|
||||||
|
- improved rebuild webdomain script
|
||||||
|
- fixed cron bug
|
||||||
|
- added backup system
|
||||||
|
- new user keys FNAME LNAME
|
||||||
|
- merged key NS1 and NS2 to NS
|
||||||
|
- moved db configs to conf folder
|
||||||
|
- yes|no boolean logic in config
|
||||||
|
- renamed crontab.conf to cron.conf
|
||||||
|
- renamed web_domains.conf to web.conf
|
||||||
|
- changed web domains directory to "web"
|
||||||
|
- fixed v_change_db_password localhost bug
|
||||||
|
- removed main config from rpm
|
||||||
|
- improved vesta install scenario
|
||||||
|
|
||||||
|
* Tue Jul 05 2011 Serghey Rodin <builder@vestacp.com> - 0.9.4-1
|
||||||
|
- nginx per domain integration
|
||||||
|
- removed SSL key and renamed TEMPLATES to WEB_TPL
|
||||||
|
- added web config rebuild script
|
||||||
|
- added includes into templates
|
||||||
|
- code formating by convention
|
||||||
|
- added error_document support
|
||||||
|
- v_check_sys_user_password refactoring
|
||||||
|
- added v_change_sys_ip_status script
|
||||||
|
- fixed ip interface bugs
|
||||||
|
- added libidn support
|
||||||
|
- added skel directory in templates
|
||||||
|
- updated site templates
|
||||||
|
- added v_list_sys_user_packages
|
||||||
|
- updated v_add_sys_user script (ns1 ns2 args)
|
||||||
|
- updated documentation
|
||||||
|
|
||||||
|
* Tue Jan 04 2011 Serghey Rodin <builder@vestacp.com> - 0.9.3-3
|
||||||
|
- new rpm spec without updates to code
|
||||||
|
|
||||||
|
* Sun Jan 02 2011 Serghey Rodin <builder@vestacp.com> - 0.9.3-2
|
||||||
|
- many fixes to installer
|
||||||
|
- added condition to upgrade macro in spec file
|
||||||
|
- fixed v_add_web_alias_script
|
||||||
|
- updated disk.pipe
|
||||||
|
|
||||||
|
* Tue Dec 28 2010 Serghey Rodin <builder@vestacp.com> - 0.9.3-1
|
||||||
|
- excluded vesta user from package
|
||||||
|
- new template storage scheme
|
||||||
|
- updated funcion increase_user_value()
|
||||||
|
- added new keys U_CHILDS MAX_CHILDS U_DIR_DISK
|
||||||
|
- renamed template php_cgi to phpcgi
|
||||||
|
- added apache_ prefix to tpls
|
||||||
|
- new logic on keys STATS_AUTH='no' STATS='no'
|
||||||
|
- updated function get_usr_disk()
|
||||||
|
- added new script v_upd_sys_user_disk
|
||||||
|
|
||||||
|
* Mon Nov 22 2010 Serghey Rodin <builder@vestacp.com> - 0.9.2-4
|
||||||
|
- fixed update script / rpm %files section
|
||||||
|
|
||||||
|
* Mon Nov 22 2010 Serghey Rodin <builder@vestacp.com> - 0.9.2-3
|
||||||
|
- fixed update script v_upd_sys_vesta
|
||||||
|
|
||||||
|
* Mon Nov 22 2010 Serghey Rodin <builder@vestacp.com> - 0.9.2-2
|
||||||
|
- removed user vesta user from rpm
|
||||||
|
- fixed %postun script
|
||||||
|
|
||||||
|
* Mon Nov 22 2010 Serghey Rodin <builder@vestacp.com> - 0.9.2-1
|
||||||
|
- added sqlite support into x86_64 repo
|
||||||
|
- fixed permissions on /var/log/httpd/domains
|
||||||
|
- many fixes in installer
|
||||||
|
- fixed empty mask in v_upd_sys_ip script
|
||||||
|
- added default robots.txt in v_add_web_domain
|
||||||
|
- new web_domains.conf key NGINX_EXT
|
||||||
|
|
||||||
|
* Sat Nov 13 2010 Serghey Rodin <builder@vestacp.com> - 0.9.1-7
|
||||||
|
- added script v_upd_sys_user_bill
|
||||||
|
- updated installer
|
||||||
|
- replaced v_list_web_domains_proxy with v_list_web_domains_nginx
|
||||||
|
- fixed rpaf.conf generation
|
||||||
|
- added nginx templates
|
||||||
|
|
||||||
|
* Tue Oct 29 2010 Serghey Rodin <builder@vestacp.com> - 0.9.1-6
|
||||||
|
- added missing function to db/ip/shared includes
|
||||||
|
|
||||||
|
* Tue Oct 26 2010 Serghey Rodin <builder@vestacp.com> - 0.9.1-5
|
||||||
|
- added U prefix to DISK and BANDWIDTH keys
|
||||||
|
- new script v_change_sys_ip_name
|
||||||
|
- added keys NETMASK,INTERFACE,DATE to ip system
|
||||||
|
- added key IP_OWNED to user system
|
||||||
|
- improved decrease_db_value() function
|
||||||
|
- fixed update_user_value() function
|
||||||
|
- updated installer
|
||||||
|
|
||||||
|
* Thu Oct 07 2010 Serghey Rodin <builder@vestacp.com> - 0.9.1-4
|
||||||
|
- fixed path in php-cgi templates
|
||||||
|
- increased php_memory_limit up to 32M for wordpress
|
||||||
|
- updated vsftpd and sudoers configs
|
||||||
|
|
||||||
|
* Wed Oct 05 2010 Serghey Rodin <builder@vestacp.com> - 0.9.1-3
|
||||||
|
- updated db functions
|
||||||
|
|
||||||
|
* Wed Oct 04 2010 Serghey Rodin <builder@vestacp.com> - 0.9.1-2
|
||||||
|
- fixed dns installer + added cron job logging
|
||||||
|
|
||||||
|
* Wed Sep 15 2010 Serghey Rodin <builder@vestacp.com> - 0.9.1-1
|
||||||
|
- created vesta api package
|
Loading…
Add table
Add a link
Reference in a new issue