feat: Gitea 연동 설정 보완, Apache 역방향 프록시 템플릿 추가 및 기능 개선 요청서 작성
- fix(config): 로컬 실행 시 루트의 .env 파일을 자동 로드하도록 Settings.from_env 개선 (테스트 실행 시 격리) - fix(ops): 기존 8000번 포트 충돌 방지를 위해 docker-compose.ops.yml 호스트 포트를 127.0.0.1:18000:8000으로 조정 - fix(git-binding): Git 저장소 바인딩 시 projects 테이블의 branch도 함께 동기화하도록 app.py 보완 - ui(projects): 프로젝트 카드의 BRANCH 표시에 바인딩된 브랜치를 우선 표시하고, OWNER 라벨을 '담당'으로 명확화 - feat(deploy): Ubuntu Apache2 웹서버용 Gitea 및 SourceHub 역방향 프록시 설정 템플릿 추가 (deploy/apache-*.conf) - docs: 프로젝트 CRUD 및 사내 개발자 관리 기능 갭 분석 및 개발 요청서 Word 문서 추가 (docs/)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Apache Reverse Proxy Configuration for Gitea
|
||||
# Copy to /etc/apache2/sites-available/gitea.conf
|
||||
# Required modules: sudo a2enmod proxy proxy_http ssl headers rewrite
|
||||
|
||||
<VirtualHost *:80>
|
||||
ServerName git.nexpa-ai.com
|
||||
|
||||
ProxyPreserveHost On
|
||||
ProxyRequests Off
|
||||
|
||||
ProxyPass / http://127.0.0.1:3200/
|
||||
ProxyPassReverse / http://127.0.0.1:3200/
|
||||
|
||||
RequestHeader set X-Forwarded-Proto "http"
|
||||
|
||||
# Allow large git push uploads (500MB)
|
||||
LimitRequestBody 524288000
|
||||
</VirtualHost>
|
||||
|
||||
# Note: Once SSL certificate is issued via Certbot:
|
||||
# Run: sudo certbot --apache -d git.nexpa-ai.com
|
||||
# Certbot will automatically add the SSL (*:443) VirtualHost and HTTPS redirect.
|
||||
Reference in New Issue
Block a user