Haven’t changed the main nginx configuration, only created a new one in “./sites-endabled” directory as below:
server {
listen 80;
listen [::]:80;
server_name 192.168.88.245;
access_log /var/log/nginx/application.access.log;
error_log /var/log/nginx/application.error.log;
location /static {
alias /home/abdullah/Desktop/Orders/__portFolium/app/portfolium/static;
}
location / {
proxy_pass http://localhost:5000;
}
}
Then i was restarted my nginx and everything had been working on devices that share same wi-fi with my PC. But then tried to connect to same ip from external network and face with timed-out error.
My expectation about this problem is wrong UFW configuration.