nginxHow to validate config
Usage example
nginx -t
output
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Related
More of Nginx
- Using try_files
- Using NJs example (JS code file)
- How to proxy TCP traffic
- Using location with regex
- Using x-xss-protection header
- Using NJs example
- Install NJS (Nginx Javascript) module in Ubuntu 22.04
- How to use geoip2 module
- How to disable keepalive connections
- Using multiple locations
See more codes...