How to synchronize files from remote server?

How to disable animations in Ubuntu 17.10 or 18.04?

Maslosoft
  • Blog
  • Products
  • Apps
  • Websites
  • Learn
  • Contact

More results
Home page Knowledge Base How to test and debug NGINX configuration?

How to test and debug NGINX configuration?

nginx configuration debug

While configuration can be tested with command service nginx configtest, there is a more convenient way to do this - and immediately get whats wrong. 

There is a command nginx -t, which test configuration and display error messages. Both commands must be used with sudo or permission denied messages might be shown (regarding SSL certificates for example).

Command to test and reload if it's ok:

sudo nginx -t && sudo service nginx reload

You might also like:

How to proxy JavaScript observable with getters and setters

javascript knockoutjs observables

How to proxy JavaScript observable with getters and setters
How to expand ext4 filesystem to fill partition with command line on ubuntu?

ubuntu filesystem

How to expand ext4 filesystem to fill partition with command line on ubuntu?
How to <i>echo</i> to file with <i>sudo</i>?

bash echo sudo

How to <i>echo</i> to file with <i>sudo</i>?
How to remove GIT tag locally and remotelly?

tag git remote origin

How to remove GIT tag locally and remotelly?
How to select HTML element without attribute with CSS?

css html selector attribute

How to select HTML element without attribute with CSS?
How to underline link with different color than text?

css underline

How to underline link with different color than text?
How to reset GIT to origin/master?

git reset master composer

How to reset GIT to origin/master?
How to use bash array?

bash array shell

How to use bash array?
  • Featured Products
  • Framework
  • Mangan
  • Manganel
  • Addendum
  • Signals
  • Embedi
  • Binder
  • Hedron
  • Staple
  • Awe Share
  • Playlist
  • Miniview
  • Whitelist
  • About
  • Contact
  • Privacy policy
  • Cookies policy
  • External Resources
  • GitHub
  • Packagist

Contact us

Maslosoft LLC

16192 Coastal Highway
Lewes, Delaware 19958, USA

  contact@maslosoft.com

  +48 514 920 103


© 2012 - 2023 Maslosoft LLC

CMS and Hosting Bene Best