Nginx: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 16: | Zeile 16: | ||
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1438/nginx -g daemo | tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1438/nginx -g daemo | ||
tcp6 0 0 :::80 :::* LISTEN 1438/nginx -g daemo | tcp6 0 0 :::80 :::* LISTEN 1438/nginx -g daemo | ||
| + | =Content= | ||
| + | */var/www/html | ||
| + | |||
=Links= | =Links= | ||
*https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-16-04 | *https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-16-04 | ||
Version vom 31. März 2017, 09:48 Uhr
Installation
- sudo apt-get install nginx
Start
- systemctl start nginx
Stop
- systemctl stop nginx
Restart
- systemctl restart nginx
Reload
- systemctl reload nginx
Status
- systemctl status nginx
Port check
- netstat -lntp | grep nginx
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1438/nginx -g daemo tcp6 0 0 :::80 :::* LISTEN 1438/nginx -g daemo
Content
- /var/www/html