-
[Nginx] Nginx 설정파일 (default)ETC 2021. 4. 14. 09:47반응형
# Nginx 설정파일 (default)
server { listen 80 default_server; root html; index index.php index.html index.htm; location / { try_files $uri $uri/ /index.php$is_args$args; } location ~ \.php$ { try_files $uri /index.php =404; fastcgi_pass unix:/run/php/php7.4-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }
반응형'ETC' 카테고리의 다른 글
[ETC] 알긴아는데 헷갈리는 용어 차이점 비교 (0) 2021.05.18 [Git] Window10 Git 설치 하기 (0) 2021.04.18 [Linux] 크론 (Cron) 크론탭(Crontab) 사용법 (1) 2021.04.17