Nginx: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 18: Zeile 18:
 
=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
 
=Configfiles=
 

Version vom 31. März 2017, 09:47 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

Links