Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

*note, you do not need the common_nmis_locations and can include this block into the 443 server block if you wish, this ensures no duplicated entry's though and is a more santitized configuration. You MUST include the proxy directives as a seperate configuration file, as any incorrect order or misconfiguration of proxy derectives can easily break wss:// headers in nginx. 

Create a symbolic link from /etc/nginx/sites-available/your_config to /etc/nginx/sites-enabled for the master configuration file

Code Block
ln -s /etc/nginx/sites-available/your_config /etc/nginx/sites-enabled/your_config


Restart nginx 

Code Block
sudo systemctl restart nginx
or
sudo service nginx restart

...