ccdw.xyz.conf 563 B

123456789101112131415161718
  1. server {
  2. listen 80;
  3. server_name ccdw.xyz www.ccdw.xyz;
  4. access_log /var/log/nginx/ccdw.xyz.log;
  5. error_log /var/log/nginx/ccdw.xyz.error.log;
  6. location / {
  7. proxy_pass http://127.0.0.1:3001;
  8. proxy_http_version 1.1;
  9. proxy_set_header Upgrade $http_upgrade;
  10. proxy_set_header Connection 'upgrade';
  11. proxy_set_header Host $host;
  12. proxy_set_header X-Real-IP $remote_addr;
  13. proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  14. proxy_set_header X-Forwarded-Proto $scheme;
  15. }
  16. }