nginx cleaned and works with alpine (45s instead of 180s, 4 times faster
+ in Makefile resolved super-clean rule + wordpress and mariadb pbm connections
This commit is contained in:
@@ -17,15 +17,13 @@ server {
|
||||
|
||||
# pass PHP scripts to FastCGI (PHP-FPM) server
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass wordpress:9000;
|
||||
try_files $uri =404;
|
||||
include fastcgi_params;
|
||||
include /etc/nginx/fastcgi.conf;
|
||||
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
try_files $uri =404;
|
||||
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
|
||||
include /etc/nginx/fastcgi.conf;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
# fastcgi_pass wordpress:9000;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user