Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <IfModule mod_fastcgi.c>
- AddType application/x-httpd-fastphp5 .php
- Action application/x-httpd-fastphp5 /php5-fcgi
- Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
- <Directory /usr/lib/cgi-bin>
- Require all granted
- </Directory>
- FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -socket /var/run/php5-fpm.sock -idle-timeout 600 -flush -pass-header Authorization
- </IfModule>
- [global]
- pid = /run/php5-fpm.pid
- error_log = /var/log/php5-fpm.log
- include=/etc/php5/fpm/pool.d/*.conf
- [www]
- user = www-data
- group = www-data
- listen = /var/run/php5-fpm.sock
- listen.owner = www-data
- listen.group = www-data
- pm = dynamic
- pm.max_children = 100
- pm.start_servers = 5
- pm.min_spare_servers = 5
- pm.max_spare_servers = 10
- chdir = /
- catch_workers_output = yes
- clear_env = no
- security.limit_extensions = ""
- AddHandler application/x-httpd-fastphp5 .js
- <Files *.js>
- ForceType application/javascript
- Header always set Content-Type "application/javascript"
- ExpiresActive on
- ExpiresDefault "access plus 10 minute"
- </Files>
- AddType application/javascript .js
- Action application/javascript /php5-fcgi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement