Learn about Centmin Mod LEMP Stack today
Register Now

Prestashop Nginx template Prestashop

Discussion in 'Ecommerce / Shopping cart usage' started by adamus007p, Mar 21, 2020.

  1. adamus007p

    adamus007p Member

    253
    16
    18
    Feb 8, 2019
    Ratings:
    +27
    Local Time:
    9:27 PM
    Hello may you share with your Prestashop 1.6 nginx templates?


    Lathanao/nginx



    can anyone help how to use it with centminmod?
    what to change to get working config....
     
    Last edited: Mar 21, 2020
  2. Lathanao

    Lathanao New Member

    3
    1
    3
    Jun 24, 2020
    Ratings:
    +4
    Local Time:
    3:27 AM
    Hello,

    Glad to see some of my conf files might be useful for some people!
    I precise I found your post totally by chance!

    So, I think it could work perfectly for your case.
    Except if you work on a very specific case where you absolutely need to use PS1.6, seriously, think to switch to PS1.7.7.
    There is a lot of more good features, like Fuzzy search, etc... and it's far more faster.

    Just for info, in the PrestaShop doc, there are some conf files in example for PS1.7.7:
    https://github.com/PrestaShop/PrestaShop/tree/develop/docs/server_config

    L+
     
  3. dandumit

    dandumit New Member

    2
    0
    1
    Jan 9, 2021
    Ratings:
    +0
    Local Time:
    10:27 PM
    HEllo Both,
    I am interested as well on this subject.
    Could you post some more details ? IT seems that both links are not working.
    Also some guidance how to configure cache in PRestashop would be very good.
    Thank you,
    Daniel
     
  4. Lathanao

    Lathanao New Member

    3
    1
    3
    Jun 24, 2020
    Ratings:
    +4
    Local Time:
    3:27 AM
    Hello,

    You're right, nginx file has been removed by this PR:
    https://github.com/PrestaShop/PrestaShop/pull/20581/files

    I moved the file of the link in the first comment, here it is now:
    https://github.com/Lathanao/PHP-Ngi...x/sites-available/nginx_example_for_PS16.conf

    The doc has been updated and you can find a nginx conf sample here:
    https://devdocs.prestashop.com/1.7/basics/installation/nginx/

    Here a link about the cache:
    https://devdocs.prestashop.com/1.7/modules/introduction/#about-the-cache

    Probably that the documentation is not fully explicite, but cache in Prestashop are really easy to understand.

    Regards.
     
    Last edited: Jan 10, 2021