@sandeep Perfect.
Best posts made by legend
Latest posts made by legend
-
RE: changing docroot to pub magento
@sandeep I am using this configuration:
Nginx + Varnish + Apache PHP-FPM Performance -
changing docroot to pub magento
This question has been bugging me for a while.How do you achieve this in cwp for the nginx, varnish, apache-php-fpm configuration?
The magento docs says to edit apache vhost and configure nginx vhost to include its sample nginx.
I can access my files in the root directory from the browser which I beleive is a security risk.
Cheers.
-
include /var/www/magento2/nginx.conf.sample;
How do you add the below statements in nginx as suggested by magento:
set $MAGE_ROOT /var/www/magento2; include /var/www/magento2/nginx.conf.sample;
-
RE: creating custom templates in cwp
@sandeep thanks how will you please create a custom template for this for example: /etc/nginx/nginx.conf
-
creating custom templates in cwp
How will the server recoginised and use these custom templates. Do you need to symlink them etc. If yes how do ou do that?
And what happens to the default templates?
Cheers
-
RE: apache configuration for magento 2
@sandeep do I need to create custom templates so they are not override during updates?
-
apache configuration for magento 2
Could you help me where do i make these changes in apache in cwp please:
Enable rewrites and .htaccess for CentOS 7: Open /etc/httpd/conf/httpd.conf file for editing: vim /etc/httpd/conf/httpd.conf` Locate the block that starts with: <Directory /var/www/html> Change the value of AllowOverride to All. For example, <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all <Directory>
-
RE: How to setup opcache with php-fpm73
@sandeep no.
any test script will be helpful.