default.conf 742 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Healthcheck Host which proxies to the Manager,
  2. # thus the healthcheck ensures both services are running
  3. server {
  4. listen 9876 default;
  5. server_name localhost;
  6. access_log /config/logs/manager.log proxy;
  7. set $server 127.0.0.1;
  8. set $port 81;
  9. include conf.d/include/block-exploits.conf;
  10. location /health {
  11. access_log off;
  12. include conf.d/include/proxy.conf;
  13. }
  14. location / {
  15. return 404;
  16. }
  17. }
  18. # Default 80 Host, which shows a "You are not configured" page
  19. server {
  20. listen 80 default;
  21. server_name localhost;
  22. access_log /config/logs/default.log proxy;
  23. include conf.d/include/assets.conf;
  24. include conf.d/include/block-exploits.conf;
  25. location / {
  26. index index.html;
  27. root /var/www/html;
  28. }
  29. }