[Dev] openrestyでhello world

in #japanese12 days ago

image.png

sudo apt update
sudo apt install openresty
sudo systemctl stop openresty
sudo systemctl disable openresty
sudo systemctl status openresty

cat conf/nginx.conf

image.png

開始

nginx -p $(pwd) -c conf/nginx.conf

停止(ここでは実行しない)

nginx -p $(pwd) -s stop

image.png

ファイアウォール

sudo ufw allow 8080/tcp
sudo ufw status

URLを開く

image.png

Sort:  
Loading...

Coin Marketplace

STEEM 0.05
TRX 0.33
JST 0.072
BTC 63861.94
ETH 1780.62
USDT 1.00
SBD 0.47