Created
December 14, 2021 12:14
-
-
Save coucoseth/7ebc69a536d2391f7bdcee02526e887a to your computer and use it in GitHub Desktop.
add a subdomain to vps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd /etc/nginx/sites-available then | |
| create a .conf file or just cp the default file or any other api files and edit the ports | |
| cd /etc/nginx/sites-enabled | |
| ln -s /etc/nginx/sites-available/yoursubdomain | |
| sudo certbot --nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment