How can I do nginx rewrite?

How can I start "Nginx" after I stopped it?

  • I have this message nginx: [emerg] location "/" is outside location "/nginx_status"...f:67  nginx: configuration file /etc/nginx/nginx.conf test failed  nginx.service: control process exited, code=exited status=1  Failed to start The nginx HTTP and reverse proxy server.  Unit nginx.service entered failed state.

  • Answer:

    I think you will have better luck with Stack Overflow than here. Anyway, seems like a config error to me. Try service nginx configtest and see what it says.

Yuta Aoki at Quora Visit the source

Was this solution helpful to you?

Other answers

This seems to be a configuration issue.. Check your nginx.conf file and also files in your sites-available directory.

Prabakaran Kandasamy

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.