default.conf 279 B

1234567891011121314151617
  1. server {
  2. listen 80;
  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. }