Ariweb Suite 0.1.1 기반: 공통 라이브러리(db·http·세션·작업 엔진·할당/예약·알림·감사·보관소), 포털 뼈대, Webmaker/AriMail 도입 소스와 manifest
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
9ca4cee341
commit
c7aea8d419
@@ -0,0 +1,29 @@
|
||||
# 공인 80/443 을 받는 프런트 nginx(예: 192.168.20.23)에 추가하는 webmaker.ibit.kr 전용 서버 블록.
|
||||
# 1) 이 파일을 /etc/nginx/sites-available/webmaker.ibit.kr.conf 로 복사하고 sites-enabled 에 링크
|
||||
# 2) sudo nginx -t && sudo systemctl reload nginx
|
||||
# 3) sudo certbot --nginx -d webmaker.ibit.kr --redirect (Let's Encrypt 인증서 발급 + HTTPS 리디렉션 자동 추가)
|
||||
# 다른 서비스의 server 블록은 건드리지 않는다. 오류 응답은 일반 안내 페이지로만 표시한다.
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name webmaker.ibit.kr;
|
||||
server_tokens off;
|
||||
client_max_body_size 200m;
|
||||
error_page 404 /__wm_404;
|
||||
error_page 500 502 503 504 /__wm_50x;
|
||||
location = /__wm_404 { internal; default_type text/html; return 404 '<!doctype html><html lang="ko"><head><meta charset="utf-8"><title>페이지를 찾을 수 없습니다</title></head><body style="font-family:sans-serif;text-align:center;padding:60px"><h1>페이지를 찾을 수 없습니다</h1><p>요청하신 페이지가 존재하지 않거나 이동되었습니다.</p></body></html>'; }
|
||||
location = /__wm_50x { internal; default_type text/html; return 503 '<!doctype html><html lang="ko"><head><meta charset="utf-8"><title>일시적인 오류가 발생했습니다</title></head><body style="font-family:sans-serif;text-align:center;padding:60px"><h1>일시적인 오류가 발생했습니다</h1><p>잠시 후 다시 시도해 주세요.</p></body></html>'; }
|
||||
location / {
|
||||
proxy_pass http://192.168.20.233:80; # bear 의 웹서버(Caddy/nginx) → 127.0.0.1:3080 앱
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Connection "";
|
||||
proxy_buffering off;
|
||||
proxy_read_timeout 3600s;
|
||||
proxy_send_timeout 3600s;
|
||||
proxy_intercept_errors on;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user