Navigation

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

    changing docroot to pub magento

    CWP - Panel
    2
    4
    78
    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

            • nginx/1.20.0 ngx_pagespeed module

            • Almalinux support

            • Error Dovecot IMAP/POP3 Server

            • Problem with How to Enable TLS 1.3 in Apache on CWP

            • Successful delivery message

            • Install latest version of Sqlite3 from source Ubuntu/Debian

            • Install latest version of Sqlite3 from source centos/rhel/el7/el8

            • C

              Mysql load error

            4
            Online

            86
            Users

            117
            Topics

            768
            Posts

            URLs HOME | Blog | Support Portal