Skip to content

Instantly share code, notes, and snippets.

@kyrcha
Created March 12, 2021 12:34
Show Gist options
  • Save kyrcha/39bc91d07dd27989841b06fefc49e65e to your computer and use it in GitHub Desktop.
Save kyrcha/39bc91d07dd27989841b06fefc49e65e to your computer and use it in GitHub Desktop.
Remove website from sites-enabled in nginx
  1. cd /etc/nginx/sites-enabled
  2. ls for checking
  3. sudo rm site-to-be-removed
  4. sudo nginx -t, and if OK
  5. sudo service nginx reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment