Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx source list add #1

Open
rezNetDevOps opened this issue Feb 16, 2023 · 3 comments
Open

Nginx source list add #1

rezNetDevOps opened this issue Feb 16, 2023 · 3 comments

Comments

@rezNetDevOps
Copy link

There is an issue with adding the link to the source list for Nginx.
check this out:
https://nginx.org/en/linux_packages.html#Ubuntu

@SasukeFreestyle
Copy link
Owner

SasukeFreestyle commented Feb 16, 2023

Yes you're right

Fixed it now.

To fix the Issue for anyone doing the guide earlier.

Run to remove nginx from the package list.

sudo rm /etc/apt/sources.list.d/nginx.list

Then run

echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
http://nginx.org/packages/mainline/ubuntu `lsb_release -cs` nginx" \
    | sudo tee /etc/apt/sources.list.d/nginx.list

@rezNetDevOps
Copy link
Author

Appreciate your effort for people, I think to use another port instead of 443, and still, it is not working on Irancell!

@SasukeFreestyle
Copy link
Owner

Are you using VPS?
In my experience Irancell has banned IP of many VPS'es :(

its 50/50 for some Irancell works and for some it does not depending on region / where are live / where you are located.

Test if you can visit your website https://example.com

run to see where it fails.
curl -v https://example.com

Also do the same test on WIFI/ADSL and see if you can connect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants