add
optimize
This commit is contained in:
parent
dce50acea6
commit
52000c250b
@ -57,7 +57,7 @@ lua_shared_dict my_limit_req_store1 100m;
|
|||||||
#brotli on;
|
#brotli on;
|
||||||
#brotli_comp_level 6;
|
#brotli_comp_level 6;
|
||||||
#brotli_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript image/svg+xml;
|
#brotli_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript image/svg+xml;
|
||||||
|
more_set_headers 'Server:Nginx Chenc.Dev';
|
||||||
##If you have a lot of static files to serve through Nginx then caching of the files' metadata (not the actual files' contents) can save some latency.
|
##If you have a lot of static files to serve through Nginx then caching of the files' metadata (not the actual files' contents) can save some latency.
|
||||||
#open_file_cache max=1000 inactive=20s;
|
#open_file_cache max=1000 inactive=20s;
|
||||||
#open_file_cache_valid 30s;
|
#open_file_cache_valid 30s;
|
||||||
@ -70,7 +70,7 @@ lua_shared_dict my_limit_req_store1 100m;
|
|||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
http2 on;
|
http2 on;
|
||||||
server_name _;
|
server_name _;
|
||||||
access_log /data/wwwlogs/access_nginx.log combined;
|
access_log /data/wwwlogs/access_nginx_$logdate.log combined;
|
||||||
root /data/wwwroot/default;
|
root /data/wwwroot/default;
|
||||||
index index.html index.htm index.php;
|
index index.html index.htm index.php;
|
||||||
#error_page 404 /404.html;
|
#error_page 404 /404.html;
|
||||||
|
|||||||
@ -25,8 +25,8 @@ server {
|
|||||||
# if ($ssl_protocol = "") { return 301 https://$host$request_uri; }
|
# if ($ssl_protocol = "") { return 301 https://$host$request_uri; }
|
||||||
|
|
||||||
server_name *.abchen.net;
|
server_name *.abchen.net;
|
||||||
access_log /data/wwwlogs/abchen.net_nginx.log combined;
|
access_log /data/wwwlogs/abchen.net_nginx_$logdate.log combined;
|
||||||
error_log /data/wwwlogs/error.abchen.net_nginx.log;
|
error_log /data/wwwlogs/error.abchen.net_nginx_$logdate.log;
|
||||||
index index.html index.htm index.php;
|
index index.html index.htm index.php;
|
||||||
|
|
||||||
root /data/wwwroot/default;
|
root /data/wwwroot/default;
|
||||||
@ -52,7 +52,7 @@ server {
|
|||||||
# proxy_pass http://php81:22349;
|
# proxy_pass http://php81:22349;
|
||||||
# }
|
# }
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
fastcgi_pass php81:9000;
|
fastcgi_pass php83:9000;
|
||||||
#fastcgi_pass unix:/dev/shm/php73-cgi.sock;
|
#fastcgi_pass unix:/dev/shm/php73-cgi.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/";
|
fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/";
|
||||||
|
|||||||
0
php/php73/cron/15min/.gitkeep
Normal file
0
php/php73/cron/15min/.gitkeep
Normal file
0
php/php73/cron/daily/.gitkeep
Normal file
0
php/php73/cron/daily/.gitkeep
Normal file
0
php/php73/cron/hourly/.gitkeep
Normal file
0
php/php73/cron/hourly/.gitkeep
Normal file
0
php/php73/cron/minute/.gitkeep
Normal file
0
php/php73/cron/minute/.gitkeep
Normal file
0
php/php73/cron/monthly/.gitkeep
Normal file
0
php/php73/cron/monthly/.gitkeep
Normal file
0
php/php73/cron/weekly/.gitkeep
Normal file
0
php/php73/cron/weekly/.gitkeep
Normal file
Loading…
x
Reference in New Issue
Block a user