On my way to edit the web servers config file ( A picture of bomb disposal unit person )
https://files.mastodon.social/media_attachments/files/111/431/031/155/628/841/original/a7705c3cfa88601f.jpeg
Here's a helpful tip for those using #Linux or #Unix web servers. Before you hit that reload command, it's always a good idea to test your server config file for syntax errors. You can do this easily as follows:
- For nginx: nginx -t
- For lighttpd: lighttpd -t -f lighttpd.conf
- For apache2: apache2 -t
If you want to check for syntax errors on other Linux/Unix servers, I have compiled a complete list for you https://www.cyberciti.biz/tips/check-unix-linux-configuration-file-for-syntax-errors.html
076萌SNS is a social network, courtesy of 076. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All 076萌SNS content and data are available under the Creative Commons Attribution 3.0 license.