Skip to content

Latest commit

 

History

History
 
 

magento2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

TESTING

to enable configuration you have to run these commands:
cd /etc/nginx/sites-enabled/
ln -s /etc/nginx/sites-avalable/default.conf ./default.conf
ln -s /etc/nginx/sites-avalable/magento2.conf ./magento2.conf
nginx -t
if no errors detected, then
service nginx restart


for ssl configuration in nginx.conf you must:
1 - open ```cd /etc/ssl/certs```
2 - generate dhparam file ```openssl dhparam -out dhparams.pem 2048```
3 - enable in nginx.conf ```ssl_dhparam /etc/ssl/certs/dhparams.pem;```

conf.d/assets.conf => settings for any static assets
conf.d/error_page.conf => configure custom error pages
conf.d/extra_protect.conf => protecting everything
conf.d/hhvm.conf => hhvm vs php-fpm port/route mapping
conf.d/maintenance.conf => global maintenance
conf.d/multishop.conf => settings for multistore code
conf.d/php_backend.conf => global settings for php execution
conf.d/setup.conf => magento web setup/update
conf.d/status.conf => nginx/php-fpm status locations

www/default.conf => catch non-existent server name
www/magento2.conf => magento virtual host/server configuration file

fastcgi_params => global fastcgi parameters
nginx.conf => main nginx configuration file