Install nginx on ubuntu 20.04 #6

Open
opened 2 years ago by rbsetiawan · 0 comments
Owner
sudo apt update
sudo apt install nginx
sudo ufw app list
  • allow http
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw status
systemctl status nginx
sudo systemctl stop nginx
sudo systemctl start nginx
sudo systemctl reload nginx
  • disable nginx
sudo systemctl disable nginx
  • enable nginx
sudo systemctl enable nginx
sudo nginx -t
sudo systemctl restart nginx

Refrensi

``` sudo apt update sudo apt install nginx ``` ``` sudo ufw app list ``` - allow http ``` sudo ufw allow 80/tcp sudo ufw allow 443/tcp ``` ``` sudo ufw status ``` ``` systemctl status nginx ``` ``` sudo systemctl stop nginx sudo systemctl start nginx sudo systemctl reload nginx ``` - disable nginx ``` sudo systemctl disable nginx ``` - enable nginx ``` sudo systemctl enable nginx ``` ``` sudo nginx -t sudo systemctl restart nginx ``` # Refrensi - [digitalocean](https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04) : How To Install Nginx on Ubuntu 20.04
rbsetiawan added the
Nginx
label 2 years ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.