#USERの誰もいません。 worker_processes 1 ; #error_logログ /error.log。 #error_logログ/ error.logに予告。 #error_logログ/ error.logに情報; #pidログは /nginx.pid。 イベント{ worker_connections 1024 。 } HTTP { メイン#log_format '$ REMOTE_ADDR - $ REMOTE_USER [$ time_local "$要求"' # '$状態$ body_bytes_sent "$ HTTP_REFERER"' # ' "$ HTTP_USER_AGENT" "$ HTTP_X_FORWARDED_FOR"' 。 #log_format upstreamlog '[$ time_local]の$ REMOTE_ADDR - $のREMOTE_USER - $のサーバー名に:$ upstream_addr:$要求upstream_response_time $ upstream_response_timeミリ$ミリ秒REQUEST_TIMEます$ REQUEST_TIME' ; LOG_FORMATメイン '$地位- $ PROXY_HOST "$依頼"の$ upstream_addr' ; サーバ { access_logのログがメイン/access.log。 80を聞きます。 位置 / { proxy_passのhttp:// 127.0.0.1:5000。 proxy_read_timeout 9999 ; } 場所 /api/fi/aa/v1.0/ { proxy_passのhttp://127.0.0.1:8080。 proxy_read_timeout 9999 ; } 場所 /api/fastdweb/runtime/v1.0/ { proxy_passのhttp:// 127.0.0.1:8080。 proxy_read_timeout 9999 ; } } }