useradd -g websvr websvr
usermod -s /bin/false websvr
name=nginx repo
baseurl=http://nginx.org/packages/centos/7/$basearch/
gpgcheck=0
enabled=1
worker_processes 1;
worker_processes 1;
http {
  charset UTF-8;
  include /etc/nginx/mime.types;
  default_type application/octet-stream;
  fastcgi_read_timeout 300;
  server_names_hash_bucket_size 64;
  proxy_max_temp_file_size 8192m;
  proxy_buffers 8 64m;
  proxy_buffer_size 64m;
  listen 80;
  server_name localhost;
  location / {
    root /var/www/html;
    index index.html;
  }
  location ~ \.(php|html)$ {
    root /var/www/html;
    fastcgi_pass unix:/var/run/php-fpm.sock;
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include fastcgi_params;
  }
}