default.conf 929 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/fallback_access.log standard;
  10. error_log /data/logs/fallback_error.log warn;
  11. include conf.d/include/assets.conf;
  12. include conf.d/include/block-exploits.conf;
  13. include conf.d/include/letsencrypt-acme-challenge.conf;
  14. location / {
  15. index index.html;
  16. root /var/www/html;
  17. }
  18. }
  19. # First 443 Host, which is the default if another default doesn't exist
  20. server {
  21. listen 443 ssl;
  22. listen [::]:443 ssl;
  23. set $forward_scheme "https";
  24. set $server "127.0.0.1";
  25. set $port "443";
  26. server_name localhost;
  27. access_log /data/logs/fallback_access.log standard;
  28. error_log /dev/null crit;
  29. include conf.d/include/ssl-ciphers.conf;
  30. ssl_reject_handshake on;
  31. return 444;
  32. }