default.conf 295 B

123456789101112131415161718
  1. server {
  2. listen 80 default_server;
  3. # listen [::]:80 default_server;
  4. location /.well-known {
  5. root /var/www/html;
  6. }
  7. # Everything is a 404
  8. location / {
  9. return 404;
  10. }
  11. # You may need this to prevent return 404 recursion.
  12. location = /404.html {
  13. internal;
  14. }
  15. }