web1.conf 372 B

123456789101112131415161718192021222324
  1. worker_processes 1;
  2. error_log stderr notice;
  3. events {
  4. worker_connections 1024;
  5. }
  6. http {
  7. variables_hash_max_size 1024;
  8. access_log off;
  9. real_ip_header X-Real-IP;
  10. charset utf-8;
  11. server {
  12. listen 80;
  13. location / {
  14. return 200 "hello web1";
  15. }
  16. location /static/ {
  17. alias static/;
  18. }
  19. }
  20. }