How to set a door for asp.net core website in QNAP?

I have done a website in asp.net core 9.0 it work in local but not work when I try to public it for internet. I have a ip public. I use the Container station with docker and I have build the app the container and the image of the website asp.net core. I have add too a image of ngnix.conf for try to transfer the door but in internet not work. I no have firewall active.

this is the nginx.conf

server {
listen 443 ssl;
server_name ip_public;

ssl_certificate /etc/nginx/certs/fullchain.pem;
ssl_certificate_key /etc/nginx/certs/privkey.pem;

ssl_protocols         TLSv1.2 TLSv1.3;
ssl_ciphers           HIGH:!aNULL:!MD5;

location / {
    proxy_pass ip:80;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection keep-alive;
    proxy_set_header Host $host;
    proxy_cache_bypass $http_upgrade;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
}

}

Any one can help me?

Have you set the port forwarding in your router?

Can you successfully connect to it on your internal network?

yes I have done it in internal network but on internet it not work.


it work in http door 80 and https door 443 but not work for internet.

I try to call my isp tomorrow for setting forward because I have always a redirect wrong.

Thanks

Okay, please try port forwarding first.
If you encounter any problems, feel free to bring them up for discussion!