SuiteCRM: NGINX 환경 구성


커뮤니티(네이버 카페)에서 더 많은 활동을 할 수 있습니다.


Nginx 1.10.2의 환경을 구성 합니다.


기본 환경 구성

http {
client_max_body_size 20M;                        #--- 첨부 파일 최대 용량 설정. PHP에서도 설정할 것. 최소 20M 이상
charset  UTF-8;                                    #--- 문자셋 설정

server {
charset  UTF-8;                                #--- 문자셋 설정

location / {
index  index.php  index.html;
}

location /wordpress/ {
try_files  $url  $uri/  /wordpress/index.php$args;     #--- WordPress에서 고유 주소 지정을 위한 설정
index  index.php  index.html;
}

#--- Fastcgi 설정
location ~ \.(php)$ {
try_files  $uri =404;
fastcgi_pass  unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_index  index.php
fastcgi_read_timeout  180;                #--- Timeout 시간 설정

include  fastcgi.conf;
}
}
}


방화벽 설정


firewall-cmd  --permanent  --zone=public  --add-service=http
firewall-cmd  --permanent  --zone=public  --add-service=https
firewall-cmd  --reload
firewall-cmd  --list-all

  

오비컨

2017.11.15 ~ 2017.11.15, ver 0.01

최종 수정일: 2022-10-24 19:17:33

이전글 :
다음글 :
상단 menu
arrow_back_ios
arrow_forward_ios