[PHP-FPM] Delete old pool files
[Nginx] Remove dev code
This commit is contained in:
parent
7181ee4658
commit
ef6644df34
@ -95,19 +95,6 @@ server {
|
|||||||
expires $expires;
|
expires $expires;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /lists/ {
|
|
||||||
proxy_pass http://mm-web:8000/;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_redirect off;
|
|
||||||
expires $expires;
|
|
||||||
}
|
|
||||||
|
|
||||||
location /mm_static {
|
|
||||||
alias /opt/mm_web-data/static;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~* ^/Autodiscover/Autodiscover.xml {
|
location ~* ^/Autodiscover/Autodiscover.xml {
|
||||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||||
fastcgi_pass phpfpm:9002;
|
fastcgi_pass phpfpm:9002;
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
[system]
|
|
||||||
user = www-data
|
|
||||||
group = www-data
|
|
||||||
pm = dynamic
|
|
||||||
pm.max_children = 10
|
|
||||||
pm.start_servers = 2
|
|
||||||
pm.min_spare_servers = 2
|
|
||||||
pm.max_spare_servers = 4
|
|
||||||
listen = [::]:9001
|
|
||||||
access.log = /proc/self/fd/2
|
|
||||||
clear_env = no
|
|
||||||
catch_workers_output = yes
|
|
@ -1,11 +0,0 @@
|
|||||||
[www]
|
|
||||||
user = www-data
|
|
||||||
group = www-data
|
|
||||||
pm = ondemand
|
|
||||||
pm.max_children = 20
|
|
||||||
pm.process_idle_timeout = 20s
|
|
||||||
pm.max_requests = 800
|
|
||||||
listen = [::]:9000
|
|
||||||
access.log = /proc/self/fd/2
|
|
||||||
clear_env = no
|
|
||||||
catch_workers_output = yes
|
|
Loading…
Reference in New Issue
Block a user