LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-24-2022, 02:54 AM   #1
1s440
Member
 
Registered: Mar 2018
Posts: 266

Rep: Reputation: Disabled
Webserver Nginx


Hi all,
I have configured nginx webserver and when I look for the site status via curl I get Http internal error , but when i check ngnix status everything is okay. Any suggestions please. I get the same error with wget also

Code:
root@test:~# curl -i http://servername/nginx_status
HTTP/1.1 500 Internal Server Error
Server: nginx/1.18.0 (Ubuntu)
Date: Wed, 24 Aug 2022 07:35:36 GMT
Content-Type: text/html
Content-Length: 141
Connection: keep-alive

<html>
  <head>
    <title>Internal Server Error</title>
  </head>
  <body>
    <h1><p>Internal Server Error</p></h1>

  </body>
</html>
 
Old 08-24-2022, 04:34 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,168
Blog Entries: 1

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
Quote:
Originally Posted by 1s440 View Post
Hi all,
I have configured nginx webserver and when I look for the site status via curl I get Http internal error , but when i check ngnix status everything is okay. Any suggestions please. I get the same error with wget also

Code:
root@test:~# curl -i http://servername/nginx_status
HTTP/1.1 500 Internal Server Error
Server: nginx/1.18.0 (Ubuntu)
Date: Wed, 24 Aug 2022 07:35:36 GMT
Content-Type: text/html
Content-Length: 141
Connection: keep-alive

<html>
  <head>
    <title>Internal Server Error</title>
  </head>
  <body>
    <h1><p>Internal Server Error</p></h1>

  </body>
</html>
Does curl -i http://servername/ works?
You can check the nginx error.log to see if you find anything useful.
 
Old 08-24-2022, 06:09 AM   #3
1s440
Member
 
Registered: Mar 2018
Posts: 266

Original Poster
Rep: Reputation: Disabled
it worked. there was nginx service issue
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install webserver (nginx, php, mysql, phpmyadmin) on ubuntu 11.04 richskrenta Ubuntu 1 01-18-2012 04:00 AM
Accessing an Internal Webserver from my Public Webserver rtoney5 Linux - Server 1 12-18-2009 05:41 PM
LXer: Howto install nginx webserver in Debian LXer Syndicated Linux News 0 02-24-2009 02:51 PM
LXer: Howto Install Nginx webserver in Ubuntu 8.04 (Hardy Heron) LXer Syndicated Linux News 0 08-03-2008 08:30 PM
Can't see WebServer from outside... Can see WebServer locally as http://localhost friddick Linux - Networking 13 08-19-2003 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration