Nginx as reverse proxy server instead of varnish in Magento 2Magento 2+nginx+varnish cannot serve same page...

Am I a Rude Number?

How should I handle players who ignore the session zero agreement?

Removing disk while game is suspended

What would the chemical name be for C13H8Cl3NO

A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?

Dilemma of explaining to interviewer that he is the reason for declining second interview

What does it mean for a caliber to be flat shooting?

Difference between i++ and (i)++ in C

Making him into a bully (how to show mild violence)

Why zero tolerance on nudity in space?

Has any human ever had the choice to leave Earth permanently?

Why do neural networks need so many training examples to perform?

Finding a logistic regression model which can achieve zero error on a training set training data for a binary classification problem with two features

Which one of these password policies are more secure?

Absorbing damage with Planeswalker

How to read 火日参拾月参

What incentives do banks have to gather up loans into pools (backed by Ginnie Mae)and selling them?

A curious equality of integrals involving the prime counting function?

Can I make estimated tax payments instead of withholding from my paycheck?

Is it possible to grant users sftp access without shell access? If yes, how is it implemented?

What to look for when criticizing poetry?

It took me a lot of time to make this, pls like. (YouTube Comments #1)

Why is it that Bernie Sanders is always called a "socialist"?

Does a phylactery of a lich have to be a box?



Nginx as reverse proxy server instead of varnish in Magento 2


Magento 2+nginx+varnish cannot serve same page multiple times, resp 502Domain Issue and Varnish ExtensionFull Page Cache on CE 1.8 - An FPC Magento Module? Varnish? Both?Magento wrongly redirects https!Magento 1.7 Nginx PHp-FPM PDF InvoicesMagento Cache - confusion about Varnish, Redis, APC, MemcacheMagento with Turpentine + Varnish + NginxM2 Varnish + Nginx (SSL not caching)Multiple Magento 2 installs on 1 Varnish installMagento 2: How to configure Nginx to use multiple websites with sub-folder













1















I've setup a store on Magento 2 that is going to go live soon. I wanted to implement Varnish, but my hosting says that it is not compatible with cPanel. They did install it, but they're facing problem when they run it. They're suggesting that I use nginx as reverse proxy server instead. I've little knowledge of servers and don't know how that can be done. I've searched the web but can't find a concrete document that explains how to use nginx as full page caching / reverse proxy server, just like how Magento 2 uses varnish. My objective is of course to speed up my site.



I'm also confused on how Magento 2 would interact with nginx as a proxy server instead of Varnish since it does not have built in support for nginx. For instance, would Magento 2 automatically purge a product page that is cached if say price of that product is updated on the backend?



Can someone kindly brief me and let me know on how to achieve my goal. Would be grateful for all the help. Thank you.










share|improve this question























  • Varnish is a caching server; nginx is a proxy or reverse proxy. If you're unable to use Varnish, you could still use Redis for page caching.

    – Steve Johnson
    Jul 17 '16 at 22:07











  • Possible duplicate of Domain Issue and Varnish Extension

    – MagenX
    Jul 18 '16 at 11:27











  • varnish and redis are totally different

    – MagenX
    Jul 18 '16 at 11:29
















1















I've setup a store on Magento 2 that is going to go live soon. I wanted to implement Varnish, but my hosting says that it is not compatible with cPanel. They did install it, but they're facing problem when they run it. They're suggesting that I use nginx as reverse proxy server instead. I've little knowledge of servers and don't know how that can be done. I've searched the web but can't find a concrete document that explains how to use nginx as full page caching / reverse proxy server, just like how Magento 2 uses varnish. My objective is of course to speed up my site.



I'm also confused on how Magento 2 would interact with nginx as a proxy server instead of Varnish since it does not have built in support for nginx. For instance, would Magento 2 automatically purge a product page that is cached if say price of that product is updated on the backend?



Can someone kindly brief me and let me know on how to achieve my goal. Would be grateful for all the help. Thank you.










share|improve this question























  • Varnish is a caching server; nginx is a proxy or reverse proxy. If you're unable to use Varnish, you could still use Redis for page caching.

    – Steve Johnson
    Jul 17 '16 at 22:07











  • Possible duplicate of Domain Issue and Varnish Extension

    – MagenX
    Jul 18 '16 at 11:27











  • varnish and redis are totally different

    – MagenX
    Jul 18 '16 at 11:29














1












1








1


1






I've setup a store on Magento 2 that is going to go live soon. I wanted to implement Varnish, but my hosting says that it is not compatible with cPanel. They did install it, but they're facing problem when they run it. They're suggesting that I use nginx as reverse proxy server instead. I've little knowledge of servers and don't know how that can be done. I've searched the web but can't find a concrete document that explains how to use nginx as full page caching / reverse proxy server, just like how Magento 2 uses varnish. My objective is of course to speed up my site.



I'm also confused on how Magento 2 would interact with nginx as a proxy server instead of Varnish since it does not have built in support for nginx. For instance, would Magento 2 automatically purge a product page that is cached if say price of that product is updated on the backend?



Can someone kindly brief me and let me know on how to achieve my goal. Would be grateful for all the help. Thank you.










share|improve this question














I've setup a store on Magento 2 that is going to go live soon. I wanted to implement Varnish, but my hosting says that it is not compatible with cPanel. They did install it, but they're facing problem when they run it. They're suggesting that I use nginx as reverse proxy server instead. I've little knowledge of servers and don't know how that can be done. I've searched the web but can't find a concrete document that explains how to use nginx as full page caching / reverse proxy server, just like how Magento 2 uses varnish. My objective is of course to speed up my site.



I'm also confused on how Magento 2 would interact with nginx as a proxy server instead of Varnish since it does not have built in support for nginx. For instance, would Magento 2 automatically purge a product page that is cached if say price of that product is updated on the backend?



Can someone kindly brief me and let me know on how to achieve my goal. Would be grateful for all the help. Thank you.







magento2 nginx varnish






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 15 '16 at 11:07









NadshezNadshez

315




315













  • Varnish is a caching server; nginx is a proxy or reverse proxy. If you're unable to use Varnish, you could still use Redis for page caching.

    – Steve Johnson
    Jul 17 '16 at 22:07











  • Possible duplicate of Domain Issue and Varnish Extension

    – MagenX
    Jul 18 '16 at 11:27











  • varnish and redis are totally different

    – MagenX
    Jul 18 '16 at 11:29



















  • Varnish is a caching server; nginx is a proxy or reverse proxy. If you're unable to use Varnish, you could still use Redis for page caching.

    – Steve Johnson
    Jul 17 '16 at 22:07











  • Possible duplicate of Domain Issue and Varnish Extension

    – MagenX
    Jul 18 '16 at 11:27











  • varnish and redis are totally different

    – MagenX
    Jul 18 '16 at 11:29

















Varnish is a caching server; nginx is a proxy or reverse proxy. If you're unable to use Varnish, you could still use Redis for page caching.

– Steve Johnson
Jul 17 '16 at 22:07





Varnish is a caching server; nginx is a proxy or reverse proxy. If you're unable to use Varnish, you could still use Redis for page caching.

– Steve Johnson
Jul 17 '16 at 22:07













Possible duplicate of Domain Issue and Varnish Extension

– MagenX
Jul 18 '16 at 11:27





Possible duplicate of Domain Issue and Varnish Extension

– MagenX
Jul 18 '16 at 11:27













varnish and redis are totally different

– MagenX
Jul 18 '16 at 11:29





varnish and redis are totally different

– MagenX
Jul 18 '16 at 11:29










4 Answers
4






active

oldest

votes


















1














Magento requires that cache storage allows cleaning values by tags. Nginx do not support it. So, you cannot implements full functionality in stock Nginx at all.



But if not valid data for some time is valid for you business, you can enable php implementation of FPC and add cache in nginx with invalidation by time






share|improve this answer































    0














    Simply avoid Cpanel and hosts which use it. You should be using bare bones Linux distribution, whereas Cpanel acts like rootkit to a system and prevents the use of decent performance software like Varnish.



    Magento 2 is so very compatible with Varnish and these are great news for anyone. Get a host without crappy panel-ware, install Varnish, Nginx, transfer your Magento, be happy.






    share|improve this answer
























    • hm, cPanel sucks, but Varnish works anywhere, even with cPanel installed...

      – MagenX
      Jul 18 '16 at 11:25



















    0














    In case anyone else comes across this issue I wrote up a solution here on how to use Nginx and Varnish on a CPanel server



    https://github.com/engintron/engintron/issues/711






    share|improve this answer































      -1














      My solution is going to be related to Magento with HTTPS enabled.



      You will need to setup nginx and create a total of 3 server contexts for a single installation.



      1st one will listen on port 80 and will redirect all traffic to port 443.



      2nd one will listen on port 443 and will redirect all traffic to port Varnish listening port(def is 6088).



      3d one will be the backend that Varnish send the MISS/HIT-FOR-MISS tagged requests. This will have all the logic that a normal Nginx server would execute.



      For Varnish you will need to extract the Varnish VCL from Magento.
      For this login to you admin panel and find Under system the panel related to Full page cache(cannot remember the right path) and change the default system value to Varnish.
      Scroll down and you will find the Varnish Version you want to extract for.
      I recommend to use Varnish v4 which i have already tested and is working.



      image below shows the Panel i am talking about :
      taken from http://devdocs.magento.com/guides/v2.0/config-guide/varnish/config-varnish-magento.html



      Varnish VCL extract



      Also check a post of mine that leads to the solution of a problem you might face.



      Magento 2+nginx+varnish cannot server same page multiple times, resp 502



      Last, but not least, you will need to add some more configurations for nginx to improve overall performance, but that is another story on it's own.



      Cheers.



      Edit: My configuration are also using php-fpm to take care of php so you will need to make changes depending on your setup for it to work properly. Don't go all out copy paste squad while using Nginx+Varnish+Magento+Something for php becouse you will have a bad day :)






      share|improve this answer


























      • your config is absolutely useles... why did you copy paste it here???

        – MagenX
        Dec 18 '17 at 10:49











      • @MagenX It is just an example of how i managed to make this work from a dead demo. What do you mean with useless?

        – 1337_sanc
        Dec 18 '17 at 12:11













      • So could you please be more productive and explain the reason behind downvoting? I do not understand the "useless" nature of posting some configs that work. Optimal? No. I also mentioned that he should look into optimizing, changing and not go all out copy paste.

        – 1337_sanc
        Dec 21 '17 at 10:07













      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "479"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f125885%2fnginx-as-reverse-proxy-server-instead-of-varnish-in-magento-2%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      Magento requires that cache storage allows cleaning values by tags. Nginx do not support it. So, you cannot implements full functionality in stock Nginx at all.



      But if not valid data for some time is valid for you business, you can enable php implementation of FPC and add cache in nginx with invalidation by time






      share|improve this answer




























        1














        Magento requires that cache storage allows cleaning values by tags. Nginx do not support it. So, you cannot implements full functionality in stock Nginx at all.



        But if not valid data for some time is valid for you business, you can enable php implementation of FPC and add cache in nginx with invalidation by time






        share|improve this answer


























          1












          1








          1







          Magento requires that cache storage allows cleaning values by tags. Nginx do not support it. So, you cannot implements full functionality in stock Nginx at all.



          But if not valid data for some time is valid for you business, you can enable php implementation of FPC and add cache in nginx with invalidation by time






          share|improve this answer













          Magento requires that cache storage allows cleaning values by tags. Nginx do not support it. So, you cannot implements full functionality in stock Nginx at all.



          But if not valid data for some time is valid for you business, you can enable php implementation of FPC and add cache in nginx with invalidation by time







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jul 15 '16 at 13:58









          KAndyKAndy

          15.8k23044




          15.8k23044

























              0














              Simply avoid Cpanel and hosts which use it. You should be using bare bones Linux distribution, whereas Cpanel acts like rootkit to a system and prevents the use of decent performance software like Varnish.



              Magento 2 is so very compatible with Varnish and these are great news for anyone. Get a host without crappy panel-ware, install Varnish, Nginx, transfer your Magento, be happy.






              share|improve this answer
























              • hm, cPanel sucks, but Varnish works anywhere, even with cPanel installed...

                – MagenX
                Jul 18 '16 at 11:25
















              0














              Simply avoid Cpanel and hosts which use it. You should be using bare bones Linux distribution, whereas Cpanel acts like rootkit to a system and prevents the use of decent performance software like Varnish.



              Magento 2 is so very compatible with Varnish and these are great news for anyone. Get a host without crappy panel-ware, install Varnish, Nginx, transfer your Magento, be happy.






              share|improve this answer
























              • hm, cPanel sucks, but Varnish works anywhere, even with cPanel installed...

                – MagenX
                Jul 18 '16 at 11:25














              0












              0








              0







              Simply avoid Cpanel and hosts which use it. You should be using bare bones Linux distribution, whereas Cpanel acts like rootkit to a system and prevents the use of decent performance software like Varnish.



              Magento 2 is so very compatible with Varnish and these are great news for anyone. Get a host without crappy panel-ware, install Varnish, Nginx, transfer your Magento, be happy.






              share|improve this answer













              Simply avoid Cpanel and hosts which use it. You should be using bare bones Linux distribution, whereas Cpanel acts like rootkit to a system and prevents the use of decent performance software like Varnish.



              Magento 2 is so very compatible with Varnish and these are great news for anyone. Get a host without crappy panel-ware, install Varnish, Nginx, transfer your Magento, be happy.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Jul 15 '16 at 16:49









              Danila VershininDanila Vershinin

              41227




              41227













              • hm, cPanel sucks, but Varnish works anywhere, even with cPanel installed...

                – MagenX
                Jul 18 '16 at 11:25



















              • hm, cPanel sucks, but Varnish works anywhere, even with cPanel installed...

                – MagenX
                Jul 18 '16 at 11:25

















              hm, cPanel sucks, but Varnish works anywhere, even with cPanel installed...

              – MagenX
              Jul 18 '16 at 11:25





              hm, cPanel sucks, but Varnish works anywhere, even with cPanel installed...

              – MagenX
              Jul 18 '16 at 11:25











              0














              In case anyone else comes across this issue I wrote up a solution here on how to use Nginx and Varnish on a CPanel server



              https://github.com/engintron/engintron/issues/711






              share|improve this answer




























                0














                In case anyone else comes across this issue I wrote up a solution here on how to use Nginx and Varnish on a CPanel server



                https://github.com/engintron/engintron/issues/711






                share|improve this answer


























                  0












                  0








                  0







                  In case anyone else comes across this issue I wrote up a solution here on how to use Nginx and Varnish on a CPanel server



                  https://github.com/engintron/engintron/issues/711






                  share|improve this answer













                  In case anyone else comes across this issue I wrote up a solution here on how to use Nginx and Varnish on a CPanel server



                  https://github.com/engintron/engintron/issues/711







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 35 mins ago









                  AnthonyAnthony

                  587




                  587























                      -1














                      My solution is going to be related to Magento with HTTPS enabled.



                      You will need to setup nginx and create a total of 3 server contexts for a single installation.



                      1st one will listen on port 80 and will redirect all traffic to port 443.



                      2nd one will listen on port 443 and will redirect all traffic to port Varnish listening port(def is 6088).



                      3d one will be the backend that Varnish send the MISS/HIT-FOR-MISS tagged requests. This will have all the logic that a normal Nginx server would execute.



                      For Varnish you will need to extract the Varnish VCL from Magento.
                      For this login to you admin panel and find Under system the panel related to Full page cache(cannot remember the right path) and change the default system value to Varnish.
                      Scroll down and you will find the Varnish Version you want to extract for.
                      I recommend to use Varnish v4 which i have already tested and is working.



                      image below shows the Panel i am talking about :
                      taken from http://devdocs.magento.com/guides/v2.0/config-guide/varnish/config-varnish-magento.html



                      Varnish VCL extract



                      Also check a post of mine that leads to the solution of a problem you might face.



                      Magento 2+nginx+varnish cannot server same page multiple times, resp 502



                      Last, but not least, you will need to add some more configurations for nginx to improve overall performance, but that is another story on it's own.



                      Cheers.



                      Edit: My configuration are also using php-fpm to take care of php so you will need to make changes depending on your setup for it to work properly. Don't go all out copy paste squad while using Nginx+Varnish+Magento+Something for php becouse you will have a bad day :)






                      share|improve this answer


























                      • your config is absolutely useles... why did you copy paste it here???

                        – MagenX
                        Dec 18 '17 at 10:49











                      • @MagenX It is just an example of how i managed to make this work from a dead demo. What do you mean with useless?

                        – 1337_sanc
                        Dec 18 '17 at 12:11













                      • So could you please be more productive and explain the reason behind downvoting? I do not understand the "useless" nature of posting some configs that work. Optimal? No. I also mentioned that he should look into optimizing, changing and not go all out copy paste.

                        – 1337_sanc
                        Dec 21 '17 at 10:07


















                      -1














                      My solution is going to be related to Magento with HTTPS enabled.



                      You will need to setup nginx and create a total of 3 server contexts for a single installation.



                      1st one will listen on port 80 and will redirect all traffic to port 443.



                      2nd one will listen on port 443 and will redirect all traffic to port Varnish listening port(def is 6088).



                      3d one will be the backend that Varnish send the MISS/HIT-FOR-MISS tagged requests. This will have all the logic that a normal Nginx server would execute.



                      For Varnish you will need to extract the Varnish VCL from Magento.
                      For this login to you admin panel and find Under system the panel related to Full page cache(cannot remember the right path) and change the default system value to Varnish.
                      Scroll down and you will find the Varnish Version you want to extract for.
                      I recommend to use Varnish v4 which i have already tested and is working.



                      image below shows the Panel i am talking about :
                      taken from http://devdocs.magento.com/guides/v2.0/config-guide/varnish/config-varnish-magento.html



                      Varnish VCL extract



                      Also check a post of mine that leads to the solution of a problem you might face.



                      Magento 2+nginx+varnish cannot server same page multiple times, resp 502



                      Last, but not least, you will need to add some more configurations for nginx to improve overall performance, but that is another story on it's own.



                      Cheers.



                      Edit: My configuration are also using php-fpm to take care of php so you will need to make changes depending on your setup for it to work properly. Don't go all out copy paste squad while using Nginx+Varnish+Magento+Something for php becouse you will have a bad day :)






                      share|improve this answer


























                      • your config is absolutely useles... why did you copy paste it here???

                        – MagenX
                        Dec 18 '17 at 10:49











                      • @MagenX It is just an example of how i managed to make this work from a dead demo. What do you mean with useless?

                        – 1337_sanc
                        Dec 18 '17 at 12:11













                      • So could you please be more productive and explain the reason behind downvoting? I do not understand the "useless" nature of posting some configs that work. Optimal? No. I also mentioned that he should look into optimizing, changing and not go all out copy paste.

                        – 1337_sanc
                        Dec 21 '17 at 10:07
















                      -1












                      -1








                      -1







                      My solution is going to be related to Magento with HTTPS enabled.



                      You will need to setup nginx and create a total of 3 server contexts for a single installation.



                      1st one will listen on port 80 and will redirect all traffic to port 443.



                      2nd one will listen on port 443 and will redirect all traffic to port Varnish listening port(def is 6088).



                      3d one will be the backend that Varnish send the MISS/HIT-FOR-MISS tagged requests. This will have all the logic that a normal Nginx server would execute.



                      For Varnish you will need to extract the Varnish VCL from Magento.
                      For this login to you admin panel and find Under system the panel related to Full page cache(cannot remember the right path) and change the default system value to Varnish.
                      Scroll down and you will find the Varnish Version you want to extract for.
                      I recommend to use Varnish v4 which i have already tested and is working.



                      image below shows the Panel i am talking about :
                      taken from http://devdocs.magento.com/guides/v2.0/config-guide/varnish/config-varnish-magento.html



                      Varnish VCL extract



                      Also check a post of mine that leads to the solution of a problem you might face.



                      Magento 2+nginx+varnish cannot server same page multiple times, resp 502



                      Last, but not least, you will need to add some more configurations for nginx to improve overall performance, but that is another story on it's own.



                      Cheers.



                      Edit: My configuration are also using php-fpm to take care of php so you will need to make changes depending on your setup for it to work properly. Don't go all out copy paste squad while using Nginx+Varnish+Magento+Something for php becouse you will have a bad day :)






                      share|improve this answer















                      My solution is going to be related to Magento with HTTPS enabled.



                      You will need to setup nginx and create a total of 3 server contexts for a single installation.



                      1st one will listen on port 80 and will redirect all traffic to port 443.



                      2nd one will listen on port 443 and will redirect all traffic to port Varnish listening port(def is 6088).



                      3d one will be the backend that Varnish send the MISS/HIT-FOR-MISS tagged requests. This will have all the logic that a normal Nginx server would execute.



                      For Varnish you will need to extract the Varnish VCL from Magento.
                      For this login to you admin panel and find Under system the panel related to Full page cache(cannot remember the right path) and change the default system value to Varnish.
                      Scroll down and you will find the Varnish Version you want to extract for.
                      I recommend to use Varnish v4 which i have already tested and is working.



                      image below shows the Panel i am talking about :
                      taken from http://devdocs.magento.com/guides/v2.0/config-guide/varnish/config-varnish-magento.html



                      Varnish VCL extract



                      Also check a post of mine that leads to the solution of a problem you might face.



                      Magento 2+nginx+varnish cannot server same page multiple times, resp 502



                      Last, but not least, you will need to add some more configurations for nginx to improve overall performance, but that is another story on it's own.



                      Cheers.



                      Edit: My configuration are also using php-fpm to take care of php so you will need to make changes depending on your setup for it to work properly. Don't go all out copy paste squad while using Nginx+Varnish+Magento+Something for php becouse you will have a bad day :)







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Dec 18 '17 at 12:12

























                      answered Dec 16 '17 at 18:13









                      1337_sanc1337_sanc

                      11410




                      11410













                      • your config is absolutely useles... why did you copy paste it here???

                        – MagenX
                        Dec 18 '17 at 10:49











                      • @MagenX It is just an example of how i managed to make this work from a dead demo. What do you mean with useless?

                        – 1337_sanc
                        Dec 18 '17 at 12:11













                      • So could you please be more productive and explain the reason behind downvoting? I do not understand the "useless" nature of posting some configs that work. Optimal? No. I also mentioned that he should look into optimizing, changing and not go all out copy paste.

                        – 1337_sanc
                        Dec 21 '17 at 10:07





















                      • your config is absolutely useles... why did you copy paste it here???

                        – MagenX
                        Dec 18 '17 at 10:49











                      • @MagenX It is just an example of how i managed to make this work from a dead demo. What do you mean with useless?

                        – 1337_sanc
                        Dec 18 '17 at 12:11













                      • So could you please be more productive and explain the reason behind downvoting? I do not understand the "useless" nature of posting some configs that work. Optimal? No. I also mentioned that he should look into optimizing, changing and not go all out copy paste.

                        – 1337_sanc
                        Dec 21 '17 at 10:07



















                      your config is absolutely useles... why did you copy paste it here???

                      – MagenX
                      Dec 18 '17 at 10:49





                      your config is absolutely useles... why did you copy paste it here???

                      – MagenX
                      Dec 18 '17 at 10:49













                      @MagenX It is just an example of how i managed to make this work from a dead demo. What do you mean with useless?

                      – 1337_sanc
                      Dec 18 '17 at 12:11







                      @MagenX It is just an example of how i managed to make this work from a dead demo. What do you mean with useless?

                      – 1337_sanc
                      Dec 18 '17 at 12:11















                      So could you please be more productive and explain the reason behind downvoting? I do not understand the "useless" nature of posting some configs that work. Optimal? No. I also mentioned that he should look into optimizing, changing and not go all out copy paste.

                      – 1337_sanc
                      Dec 21 '17 at 10:07







                      So could you please be more productive and explain the reason behind downvoting? I do not understand the "useless" nature of posting some configs that work. Optimal? No. I also mentioned that he should look into optimizing, changing and not go all out copy paste.

                      – 1337_sanc
                      Dec 21 '17 at 10:07




















                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Magento Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f125885%2fnginx-as-reverse-proxy-server-instead-of-varnish-in-magento-2%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

                      How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

                      變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...