nginx.conf 418 B

1234567891011121314151617181920212223242526
  1. worker_processes 1;
  2. events {
  3. worker_connections 1024;
  4. }
  5. http {
  6. include mime.types;
  7. default_type application/octet-stream;
  8. sendfile on;
  9. keepalive_timeout 65;
  10. upstream api.blog.com {
  11. server 127.0.0.1:9033;
  12. }
  13. server {
  14. listen 80;
  15. server_name xxxxx.com;
  16. location / {
  17. proxy_pass http://xxxxx.com/;
  18. }
  19. }
  20. }