* octobercms webp example nginx config moved to separate file * use dns placeholder *.local.wpstudio.ru for example naming of local domains in nginx config * up default nodejs version in env-example to lts/fermium
22 lines
668 B
Plaintext
22 lines
668 B
Plaintext
server {
|
|
server_name
|
|
octobercmswebp.ru.local.wpstudio.ru
|
|
;
|
|
listen 80;
|
|
root $root;
|
|
include includes.d/octobercms.conf;
|
|
include includes.d/offline-webp.conf;
|
|
include includes.d/staticfiles.conf;
|
|
location = /index.php {
|
|
fastcgi_pass php74;
|
|
include fastcgi_params;
|
|
fastcgi_read_timeout 3000;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
}
|
|
location = /plugins/offline/responsiveimages/webp.php {
|
|
fastcgi_pass php74;
|
|
include fastcgi_params;
|
|
fastcgi_read_timeout 3000;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
}
|
|
} |