SasukeFreestyle / XTLS-Iran-TLS

How to make a V2ray (XTLS) Server for bypassing internet censorship in Iran.
GNU Affero General Public License v3.0
74 stars 17 forks source link

Nginx source list add #1

Open rezNetDevOps opened 1 year ago

rezNetDevOps commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

SasukeFreestyle commented 1 year ago

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.