Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. server {
  2. listen 443 ssl http2;
  3. server_name upload.app.io;
  4. underscores_in_headers on;
  5.  
  6. location / {
  7. client_max_body_size 0;
  8.  
  9. proxy_request_buffering off;
  10. proxy_pass http://localhost:3000;
  11. proxy_http_version 1.1;
  12. proxy_set_header Upgrade $http_upgrade;
  13. proxy_set_header Connection 'upgrade';
  14. proxy_set_header Host $host;
  15. proxy_cache_bypass $http_upgrade;
  16. }
  17.  
  18. ssl_certificate /etc/nginx/ssl/ca-bundle.crt;
  19. ssl_certificate_key /etc/nginx/ssl/server.key;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement