From 96bb2c8701ab8415106d49cef3efffe90f8f0cae Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 3 Oct 2022 16:54:58 +0300 Subject: [PATCH] host and port --- main.py | 2 +- nginx/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 3dd5a1d..0a70e66 100644 --- a/main.py +++ b/main.py @@ -22,4 +22,4 @@ def run(): response['response'].update(processor.process()) return response - app.run() + app.run(host="0.0.0.0", port=8000) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 8fbe45f..42c4c5d 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -5,7 +5,7 @@ http { listen 1238; location / { - proxy_pass http://api:5000/; + proxy_pass http://api:8000/; } }