UN
public_html -> myapp/public?
ln -s public_html /myapp/public
Size: a a a
UN
public_html -> myapp/public?
ln -s public_html /myapp/public
UN
location ~ \.php#надо
location ~ \.php$
M
UN
UN
С
С
VY
UN
M
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
UN
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# regex to split $uri to $fastcgi_script_name and $fastcgi_path
fastcgi_split_path_info ^(.+\.php)(/.+)$;
# Check that the PHP script exists before passing it
try_files $fastcgi_script_name =404;
# Bypass the fact that try_files resets $fastcgi_path_info
# see: http://trac.nginx.org/nginx/ticket/321
set $path_info $fastcgi_path_info;
fastcgi_param PATH_INFO $path_info;
fastcgi_index index.php;
include fastcgi.conf;
M
include fastcgi.conf;
естьUN
include fastcgi.conf;
естьM
UN
SJ
M
server{
...
access_log /var/log/nginx/DOMAIN-access.log;
error_log /var/log/nginx/DOMAIN-error.log error;
}
UN
server{
...
access_log /var/log/nginx/DOMAIN-access.log;
error_log /var/log/nginx/DOMAIN-error.log error;
}
M
UN