Nginx 1 · Servers and static files

Enable a site on Debian or Ubuntu

Link a file from sites-available to sites-enabled, then test and reload.

sudo ln -s /etc/nginx/sites-available/example /etc/nginx/sites-enabled/

Official Nginx 1 documentation

More servers and static files commands

All servers and static files commands · Nginx 1 cheatsheet

Was this page helpful?