Configuration of php-fpm globally nginx for all sites


#1

On every server block I am adding

Php Location Block

Is it works by adding to default server block only once For all websites.

adding expires headers to the all websites also not working through default conf


#2

Hello,

the defaut configuration is only another vhost. With Nginx the global configuration is the http block. But you cannot use the location directive in the http block.

But why do you add the php location block ? EasyEngine create the vhost configuration automatically.


#3

i created global.config

in nginx/conf.d

add added include file in everyvhost that’s solve my problem.


#4