'Setting nginx with ssl cant connect from outside
I have setup an new nginx in linux server
with the following sites-enable/
server {
        server_name ascohosting.space www.ascohosting.space;
        location / {
        root /var/www/ascohosting.space;
        index index.html index.htm;
        }
    listen *:443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/ascohosting.space/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/ascohosting.space/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
    if ($host = www.ascohosting.space) {
        return 301 https://$host$request_uri;
    } # managed by Certbot
    if ($host = ascohosting.space) {
        return 301 https://$host$request_uri;
    } # managed by Certbot
        listen *:80 default_server;
        server_name ascohosting.space www.ascohosting.space;
    return 404; # managed by Certbot
}
ufw
80/tcp                     ALLOW       Anywhere
443/tcp                    ALLOW       Anywhere
22/tcp                     ALLOW       Anywhere
OpenSSH                    ALLOW       Anywhere
Nginx Full                 ALLOW       Anywhere
443                        ALLOW       Anywhere
80/tcp (v6)                ALLOW       Anywhere (v6)
443/tcp (v6)               ALLOW       Anywhere (v6)
22/tcp (v6)                ALLOW       Anywhere (v6)
OpenSSH (v6)               ALLOW       Anywhere (v6)
Nginx Full (v6)            ALLOW       Anywhere (v6)
443 (v6)                   ALLOW       Anywhere (v6)
and above ufw
but i cant connect from external. what do i miss? currently using letsencrypt ssl for above.
Solution 1:[1]
Is my route problem. with the setting set by ISP
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source | 
|---|---|
| Solution 1 | longtech | 

