update nginx
This commit is contained in:
@ -88,9 +88,9 @@ http {
|
|||||||
client_max_body_size 100M;
|
client_max_body_size 100M;
|
||||||
}
|
}
|
||||||
|
|
||||||
# 🔧 スマホアプリ互換性対応: /api/checkin_from_rogapp を /gifuroge/ にプロキシ
|
# 🔧 スマホアプリ互換性対応: /api/checkin_from_rogapp の特別処理
|
||||||
location /api/checkin_from_rogapp {
|
location /api/checkin_from_rogapp {
|
||||||
proxy_pass http://app:8000/gifuroge/checkin_from_rogapp;
|
proxy_pass http://app:8000/api/checkin_from_rogapp;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
@ -110,6 +110,10 @@ http {
|
|||||||
|
|
||||||
# クライアント設定(画像アップロード対応)
|
# クライアント設定(画像アップロード対応)
|
||||||
client_max_body_size 100M;
|
client_max_body_size 100M;
|
||||||
|
|
||||||
|
# ログ記録強化
|
||||||
|
access_log /var/log/nginx/checkin_access.log main;
|
||||||
|
error_log /var/log/nginx/checkin_error.log warn;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Django API プロキシ
|
# Django API プロキシ
|
||||||
|
|||||||
Reference in New Issue
Block a user