*/1 * * * * root /home/mybin/script.sh; /bin/sleep 15; /home/mybin/script.sh; /bin/sleep 15; /home/mybin/script.sh; /bin/sleep 15; /home/mybin/script.sh
server {
listen 127.0.0.1:80;
server_name portal www.portal;
root home/portal/public_html/web;
index index.php index.html;
log_not_found off;
charset utf-8;
access_log logs/portal-access.log main;
location ~ /\. {deny all;}
location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php; } }
location = /favicon.ico {
}
location = /robots.txt {
}
location ~ \.php$ {
if (!-e $document_root$document_uri){return 404;}
fastcgi_pass 127.0.0.1:9054;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}