Enable Nginx Site
Creates the symlink from sites-available to sites-enabled and tests + reloads Nginx. Always run nginx -t before reload to catch config errors.
When you need this: After creating a new Nginx site configuration that needs to go live.
Variables
Command
2 views
0 copies
Related in this category
Log in to save
Free account — save snippets into your own collections.