Created
July 28, 2020 14:54
-
-
Save moradi-morteza/fc3775bc7c1f4f2227e948dc39013696 to your computer and use it in GitHub Desktop.
[NGINX]
This file contains 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
sudo ufw status | |
sudo systemctl start nginx | |
sudo systemctl restart nginx | |
sudo systemctl reload nginx | |
sudo systemctl enable nginx | |
sudo nginx -t | |
sudo nginx -t && sudo service nginx reload | |
systemctl status nginx | |
sudo systemctl status apache2 | |
sudo systemctl is-enabled apache2 | |
sudo systemctl disable apache2 | |
sudo systemctl stop apache2 | |
sudo systemctl mask apache2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment