jsonjumble_nginx.conf 433 B

123456789101112131415161718
  1. server {
  2. listen 80;
  3. listen [::]:80;
  4. server_name jsonjumble.com;
  5. location / {
  6. # First attempt to serve request as file, then
  7. # as directory, then fall back to displaying a 404.
  8. #try_files $uri $uri/ =404;
  9. proxy_pass http://localhost:5000;
  10. proxy_http_version 1.1;
  11. proxy_set_header Upgrade $http_upgrade;
  12. proxy_set_header Connection 'upgrade';
  13. proxy_set_header Host $host;
  14. proxy_cache_bypass $http_upgrade;
  15. }
  16. }