Difference between revisions of "Nginx -t"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
  
  
* Restart: <code>[[systemctl restart]] nginx</code>
+
===Restart===
 
+
*<code>[[systemctl restart]] nginx</code>
  
  
 +
===Outputs===
 
  nginx: [emerg] pcre_compile() failed: unrecognized character after (? or (?- in "^(?XXX.+)\.domain\.com$" at "XXX.+)\.domain\.com$" in [[/etc/nginx/sites- enabled/default]]:75
 
  nginx: [emerg] pcre_compile() failed: unrecognized character after (? or (?- in "^(?XXX.+)\.domain\.com$" at "XXX.+)\.domain\.com$" in [[/etc/nginx/sites- enabled/default]]:75
 
  nginx: configuration file /etc/nginx/nginx.conf test failed
 
  nginx: configuration file /etc/nginx/nginx.conf test failed

Revision as of 10:46, 27 August 2021

Advertising: