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
| sudo apt update && sudo apt upgrade -y | |
| sudo mkdir -p /usr/share/keyrings | |
| curl -fsSL https://pkg.cloudflare.com/cloudflare-public-v2.gpg | sudo tee /usr/share/keyrings/cloudflare-public-v2.gpg >/dev/null | |
| echo "deb [signed-by=/usr/share/keyrings/cloudflare-public-v2.gpg] https://pkg.cloudflare.com/cloudflared any main" | sudo tee /etc/apt/sources.list.d/cloudflared.list | |
| sudo apt update | |
| sudo apt install cloudflared -y |
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
| Perintah download file WP terbaru: | |
| wget https://wordpress.org/latest.tar.gz | |
| ----------------------------------------------------------- | |
| Perintah unzip file WP terbaru: | |
| tar -xzf latest.tar.gz | |
| ----------------------------------------------------------- |
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
| server { | |
| listen 18080; | |
| server_name example.com; | |
| root /var/www/example.com; | |
| index index.php index.html; | |
| client_max_body_size 256M; | |
| # include /etc/nginx/snippets/security-rules.conf; |