Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user www-data;
- worker_processes 4;
- pid /run/nginx.pid;
- events {
- worker_connections 768;
- }
- http {
- sendfile on;
- tcp_nopush on;
- tcp_nodelay on;
- keepalive_timeout 65;
- types_hash_max_size 2048;
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
- server {
- listen 80 default_server;
- listen [::]:80 default_server ipv6only=on;
- root /srv/www;
- server_name localhost;
- location ~ \.php$ {
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_pass unix:/var/run/php5-fpm.sock;
- fastcgi_index index.php;
- include fastcgi_params;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement