sudo apt update sudo apt install nginx
systemctl status nginx
sudo chown -R www-data:www-data /var/www/html/Earthquakes
sudo chmod -R 755 /var/www/html/Earthquakes
server { listen 80 default_server; listen [::]:80 default_server; root /var/www/html/Earthquakes; index index.html index.htm; server_name Earthquakes; location / { try_files $uri $uri/ =404; } }
sudo ln -s /etc/nginx/sites-available/Earthquakes /etc/nginx/sites-enabled/
sudo nginx -t
sudo systemctl restart nginx
在我们的论坛中与其他用户协作
可能需要有效的服务协议或有效的软件订阅,同时支持选项因国家/地区而异
Helpful
Not Helpful