default.conf 994 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. ssl_certificate /data/nginx/dummycert.pem;
  30. ssl_certificate_key /data/nginx/dummykey.pem;
  31. include conf.d/include/ssl-ciphers.conf;
  32. return 444;
  33. }