Answer the question
In order to leave comments, you need to log in
How to overcome Failed to start php-fpm.service: Unit not found. error?
php files not starting:
conf
server {
listen 80;
server_name vipoc.pb.ua;
root /sybase/vipoc/;
index index.php index.html index.htm;
access_log /sybase/vipoc/access.log main;
error_log /sybase/vipoc/error.log;
location / {
return 301 https://vipoc.pb.ua$request_uri;
}
location ~* ^.+.(js|css|png|jpg|jpeg|gif|ico|woff)$ {
return 301 https://vipoc.pb.ua$request_uri;
}
location ~ \.php$ {
return 301 https://vipoc.pb.ua$request_uri;
}
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
rewrite ^ /robots.txt break;
allow all;
log_not_found off;
access_log off;
}
location ~ /\.ht {
deny all;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question