Navigation

    • Register
    • Login
    • Search
    • Recent
    • Users
    • Groups

    changing docroot to pub magento

    CWP - Panel
    2
    4
    31
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      legend last edited by

      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.

      sandeep 1 Reply Last reply Reply Quote 0
      • sandeep
        sandeep @legend last edited by

        @legend are you using nginx + apache for the magento website then you don't need to do anyhting in nginx when using apache

        L 1 Reply Last reply Reply Quote 0
        • L
          legend @sandeep last edited by

          @sandeep I am using this configuration:
          Nginx + Varnish + Apache PHP-FPM Performance

          sandeep 1 Reply Last reply Reply Quote 0
          • sandeep
            sandeep @legend last edited by

            @legend then you don't need to configure nginx as Apache is the main webserver here and nginx is just a proxy server.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            Recent Topics

            • Serious error with quotas

            • Centos 8 Stream CWP - Delayed Update and CWP repositories are added

            • Update NGINX Stable v1.16.1 to latest NGINX Stable v1.18.0 for CWP & CWP PRO!

            • Phpmyadmin New Verison with autologin - CWP

            • PHP 8.0.0 testing - CWP

            • M

              Install php 7.4 on cwp

            • How to update phpMyAdmin v4.7.9 outdated version to the latest phpMyAdmin v4.9.2 for CWP and CWP PRO for Centos 7 !

            • How to Get A+ Score Rating with SSLLabs Qualys in CWP – Control web panel

            URLs HOME | Blog | Support Portal