diff --git a/nginx.conf b/nginx.conf index 2e26916..a2fa34b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,17 +1,13 @@ -upstream app { - server 0.0.0.0:8000; -} +events {} -server { - listen 80; - server_name demo.dev.sprinthub.ru; +http { + include mime.types; + server { + listen 80; + server_name a.com; - location / { - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $http_host; - proxy_redirect off; - - proxy_pass http://app; + location / { + proxy_pass http://127.0.0.1:8000; #/$1$is_args$args; + } } - } \ No newline at end of file