reverse proxy – nginx, docker and gunicorn url without the port number in the URL

I have a Django application that also uses gunicorn and nginx. I can access my site using http: // url: 8000, but I do not know how to configure it properly. So I do not need to use the port number in the URL, that is, http: // url would be identical to http: // url: 8000.

Here is my docker-compose.yml:

version: 3.2 & # 39;

services:
immweb:
restart: always
to build: .
exhibit:
- "8000"
command: gunicorn smn_imm.wsgi: application --bind 0.0.0.0:8000
volumes:
- type: volume
source: smnvol
target: / etc / smn_imm / smnvol
ports:
- "8000: 8000"

nginx:
build: nginx
depend on:
- immweb

nginx.conf:

smn_imm upstream {
Web server: 8000;
}

server {

listen to 80;
server_name smn-imm;

location / {
proxy_pass http: // smn_imm;
proxy_set_header X-Forwarded-For $ proxy_add_x_forwarded_for;
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_redirect disabled;
}

}