nginx 쓰는데, A레코드 추가해서 사이트 하나 더만들고 있는데 자꾸 다운로드 되면서 연결이 안됩니다.
conf 추가후 홈디렉터리까지 연결했는데 뭐가 다운됩니다.
권한문제도 아닌것같은데 다운되는 내용은 아래 내용입니다.
<?php
/**
* -----------------------------------------------------------------------------
*
* R H Y M I X : C O N T E N T M A N A G E M E N T S Y S T E M
*
* https://www.rhymix.org
*
* -----------------------------------------------------------------------------
*
* Copyright (c) Rhymix Developers and Contributors <[email protected]>
* Copyright (c) NAVER <http://www.navercorp.com>
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 2 of the License, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* -----------------------------------------------------------------------------
*
* Rhymix is a derivative work of XpressEngine (XE) version 1.x.
* The license has been changed from LGPL v2.1 to GPL v2 in accordance with
* section 3 of LGPL v2.1. This change is irreversible and applies to all of
* Rhymix, including parts that were copied verbatim from XpressEngine.
*
* -----------------------------------------------------------------------------
*/
/**
* Include the autoloader.
*/
require dirname(__FILE__) . '/common/autoload.php';
/**
* @brief Initialize by creating Context object
* Set all Request Argument/Environment variables
**/
Context::init();
/**
* @brief Initialize and execute Module Handler
**/
$oModuleHandler = new ModuleHandler();
$oModuleHandler->init() && $oModuleHandler->displayContent($oModuleHandler->procModule());
Context::close();
/* End of file index.php */
/* Location: ./index.php */
URL: stock.24post.co.kr 접속시 다운로드됩니다.
nginx 에서 php-fpm 등 설정을 안하신거 같네요^^
nginx.conf 나 버츄얼 호스트 설정 파일을 보여주세요.