• Uncategorized

About linux : Nginx-serving-same-wifi-connected-devices-but-not-global-networks-Flask-back-end

Question Detail

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.

Question Answer

No answer for now.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.