nginx.conf 419 B

1234567891011121314151617181920212223242526272829
  1. events {
  2. worker_connections 768;
  3. }
  4. http {
  5. server {
  6. listen 80;
  7. root /app;
  8. location /liveness {
  9. access_log off;
  10. return 200 "healthy\n";
  11. }
  12. location /readiness {
  13. access_log off;
  14. return 200 "healthy\n";
  15. }
  16. location / {
  17. try_files $uri $uri/ =404;
  18. }
  19. location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
  20. expires 1y;
  21. log_not_found off;
  22. }
  23. }
  24. }