default.conf 901 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # "You are not configured" page, which is the default if another default doesn't exist
  2. server {
  3. listen 80;
  4. listen [::]:80;
  5. set $forward_scheme "http";
  6. set $server "127.0.0.1";
  7. set $port "80";
  8. server_name localhost-nginx-proxy-manager;
  9. access_log /data/logs/default.log standard;
  10. error_log /dev/null crit;
  11. include conf.d/include/assets.conf;
  12. include conf.d/include/block-exploits.conf;
  13. location / {
  14. index index.html;
  15. root /var/www/html;
  16. }
  17. }
  18. # First 443 Host, which is the default if another default doesn't exist
  19. server {
  20. listen 443 ssl;
  21. listen [::]:443 ssl;
  22. set $forward_scheme "https";
  23. set $server "127.0.0.1";
  24. set $port "443";
  25. server_name localhost;
  26. access_log /data/logs/default.log standard;
  27. error_log /dev/null crit;
  28. ssl_certificate /data/nginx/dummycert.pem;
  29. ssl_certificate_key /data/nginx/dummykey.pem;
  30. include conf.d/include/ssl-ciphers.conf;
  31. return 444;
  32. }