<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nginx | 최다은 포트폴리오</title><link>https://ddaaan.github.io/tag/nginx/</link><atom:link href="https://ddaaan.github.io/tag/nginx/index.xml" rel="self" type="application/rss+xml"/><description>Nginx</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>ko-kr</language><lastBuildDate>Thu, 01 Aug 2024 00:00:00 +0000</lastBuildDate><image><url>https://ddaaan.github.io/media/logo_hu25717422b3b0790f0566abe2caaf12f9_60927_300x300_fit_lanczos_3.png</url><title>Nginx</title><link>https://ddaaan.github.io/tag/nginx/</link></image><item><title>Development and Operation of Jeonnam Office of Education Survey Website</title><link>https://ddaaan.github.io/en/project/jne-survey/</link><pubDate>Thu, 01 Aug 2024 00:00:00 +0000</pubDate><guid>https://ddaaan.github.io/en/project/jne-survey/</guid><description>&lt;h2 id="-project-overview">💡 Project Overview&lt;/h2>
&lt;p>This project was commissioned by the &lt;strong>Jeollanam-do Office of Education&lt;/strong>, aimed at creating an integrated platform for conducting and managing democracy-related surveys across schools.&lt;br>
The platform was developed and operated using Django as the backend framework.&lt;/p>
&lt;p>&lt;strong>Service Link&lt;/strong>: &lt;a href="http://jndedu-school-democracy.kr/" target="_blank" rel="noopener">http://jndedu-school-democracy.kr/&lt;/a> (Hosting terminated)&lt;/p>
&lt;hr>
&lt;h2 id="-key-features">🌟 Key Features&lt;/h2>
&lt;h3 id="-users-students-parents-faculty">👩‍🏫 Users (Students, Parents, Faculty)&lt;/h3>
&lt;ul>
&lt;li>Participate in customized surveys according to user type (student, parent, or faculty)&lt;/li>
&lt;li>Access announcements and download attachments from the resources section&lt;/li>
&lt;li>View educational resources related to school democracy&lt;/li>
&lt;/ul>
&lt;h3 id="-administrators-school--regional-office--main-office">🧑‍💻 Administrators (School / Regional Office / Main Office)&lt;/h3>
&lt;ul>
&lt;li>Role-based admin accounts with tiered access (school, regional office, headquarters)&lt;/li>
&lt;li>Create and manage announcements or resources with file uploads&lt;/li>
&lt;li>Real-time statistics by school, region, and education level&lt;/li>
&lt;li>Visualize and export statistics by question or category&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="-tech-stack">⚙️ Tech Stack&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>Language&lt;/strong>: Python 3.11.9&lt;/li>
&lt;li>&lt;strong>Framework&lt;/strong>: Django&lt;/li>
&lt;li>&lt;strong>Database&lt;/strong>: MySQL&lt;/li>
&lt;li>&lt;strong>Server&lt;/strong>: Ubuntu + Nginx&lt;/li>
&lt;li>&lt;strong>Deployment&lt;/strong>: Gunicorn, crontab (automatic reboot scheduling)&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="-key-learnings">🧠 Key Learnings&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>High-Traffic Management&lt;/strong>: Gained hands-on experience handling sudden traffic spikes in a live environment by optimizing Nginx and Gunicorn configurations.&lt;/li>
&lt;li>&lt;strong>Database Optimization&lt;/strong>: Solved Django ORM N+1 query problems using &lt;code>select_related&lt;/code> and &lt;code>prefetch_related&lt;/code>, and minimized DB load for complex queries with &lt;code>annotate&lt;/code> and &lt;code>aggregate&lt;/code>.&lt;/li>
&lt;li>&lt;strong>Server Operations&lt;/strong>: Learned to maintain stable Ubuntu-based servers using scheduled crontab tasks for automatic reboots and monitoring.&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;p>👉 &lt;a href="https://www.notion.so/12184dccb3788007a936ed1918ffab09?pvs=21" target="_blank" rel="noopener">Detailed Learnings on Site Operation&lt;/a>&lt;/p>
&lt;/blockquote>
&lt;hr>
&lt;h2 id="-github-repository">🔗 GitHub Repository&lt;/h2>
&lt;p>&lt;a href="https://github.com/Ddaaan/EduWebCode" target="_blank" rel="noopener">https://github.com/Ddaaan/EduWebCode&lt;/a>&lt;/p></description></item><item><title>전남교육청 설문조사 홈페이지 구현 및 운영</title><link>https://ddaaan.github.io/project/jne-survey/</link><pubDate>Thu, 01 Aug 2024 00:00:00 +0000</pubDate><guid>https://ddaaan.github.io/project/jne-survey/</guid><description>&lt;h2 id="-프로젝트-개요">💡 프로젝트 개요&lt;/h2>
&lt;p>전라남도교육청의 외주 프로젝트로, 교육청 산하 학교들의 민주주의 설문조사를 통합적으로 운영할 수 있는 플랫폼을 Django 기반으로 개발 및 운영하였습니다.&lt;/p>
&lt;p>&lt;strong>운영 링크&lt;/strong>: &lt;a href="http://jndedu-school-democracy.kr/" target="_blank" rel="noopener">http://jndedu-school-democracy.kr/&lt;/a> (현재 호스팅 종료)&lt;/p>
&lt;hr>
&lt;h2 id="-주요-기능">🌟 주요 기능&lt;/h2>
&lt;h3 id="-사용자-학생-학부모-교직원">👩‍🏫 사용자 (학생, 학부모, 교직원)&lt;/h3>
&lt;ul>
&lt;li>사용자 유형(학생/학부모/교직원)에 따른 맞춤형 설문조사 참여&lt;/li>
&lt;li>공지사항 및 자료실 게시글 열람 및 첨부파일 다운로드&lt;/li>
&lt;li>학교 민주주의 관련 이론 자료 제공&lt;/li>
&lt;/ul>
&lt;h3 id="-관리자-학교지역청본청">🧑‍💻 관리자 (학교/지역청/본청)&lt;/h3>
&lt;ul>
&lt;li>등급별 관리자(학교, 지역청, 본청) 로그인 및 권한 관리&lt;/li>
&lt;li>공지사항·자료실 게시글 작성 및 첨부파일 업로드&lt;/li>
&lt;li>학교별, 지역별, 학교급별 통계 실시간 조회&lt;/li>
&lt;li>문항별·파트별 통계 시각화 및 데이터 다운로드 기능&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="-기술-스택">⚙️ 기술 스택&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>Language&lt;/strong>: Python 3.11.9&lt;/li>
&lt;li>&lt;strong>Framework&lt;/strong>: Django&lt;/li>
&lt;li>&lt;strong>Database&lt;/strong>: MySQL&lt;/li>
&lt;li>&lt;strong>Server&lt;/strong>: Ubuntu + Nginx&lt;/li>
&lt;li>&lt;strong>Deployment&lt;/strong>: Gunicorn, crontab (자동 리부트)&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="-배운점">🧠 배운점&lt;/h2>
&lt;ul>
&lt;li>&lt;strong>대규모 트래픽 관리&lt;/strong>: 실제 운영 환경에서 순간적으로 몰리는 트래픽을 Nginx와 Gunicorn 설정으로 분산 처리하고 대응한 경험을 쌓았습니다.&lt;/li>
&lt;li>&lt;strong>DB 성능 최적화&lt;/strong>: Django ORM 사용 시 발생하는 N+1 문제를 &lt;code>select_related&lt;/code>, &lt;code>prefetch_related&lt;/code>로 해결하고, 복잡한 통계 쿼리는 &lt;code>annotate&lt;/code>와 &lt;code>aggregate&lt;/code>를 활용해 DB 부하를 최소화했습니다.&lt;/li>
&lt;li>&lt;strong>서버 운영&lt;/strong>: crontab을 이용한 주기적인 서버 자동 리부트 설정 등 안정적인 리눅스(Ubuntu) 서버 운영 노하우를 익혔습니다.&lt;/li>
&lt;/ul>
&lt;blockquote>
&lt;p>👉 &lt;a href="https://www.notion.so/12184dccb3788007a936ed1918ffab09?pvs=21" target="_blank" rel="noopener">사이트 운영 중 배운점 상세 보기&lt;/a>&lt;/p>
&lt;/blockquote>
&lt;hr>
&lt;h2 id="-github-repository">🔗 GitHub Repository&lt;/h2>
&lt;p>&lt;a href="https://github.com/Ddaaan/EduWebCode" target="_blank" rel="noopener">https://github.com/Ddaaan/EduWebCode&lt;/a>&lt;/p></description></item></channel></rss>