Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
2 answers
1k views

404, 50x error handling HTML pages in nginx is not detected

nginx version: nginx/1.18.0 This is my 'nginx' conf default 'vhost': cat /etc/nginx/sites-enabled/000-default server { listen 80; listen [::]:80; server_name example.org; return 301 ...
Mévatlavé Kraspek's user avatar
0 votes
2 answers
11k views

Why does my 404 return 200 status code?

Not sure why but all of my error pages respond with a 200. That's feels a little strange to me, the pages exist but shouldn't they have their corresponding status codes? How do I get Nginx to render ...
jwerre's user avatar
  • 798
3 votes
1 answer
2k views

Why do I get a 404 for my index.page in my http/https nginx setup?

I'm using WPN-XM (stack with Nginx, MariaDB, PHP and OPENSSL) and am trying to setup OpenSSL in a HTTP/HTTPS server. I'm following the instructions from NGINX here and my server starts/stops without ...
frequent's user avatar
  • 167