Advertisement
Guest User

Untitled

a guest
Feb 2nd, 2020
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. wget https://repick.co
  2. --2020-02-02 16:38:32-- https://repick.co/
  3. Resolving repick.co (repick.co)... 104.27.160.209, 104.27.161.209
  4. Connecting to repick.co (repick.co)|104.27.160.209|:443... connected.
  5. HTTP request sent, awaiting response... 301 Moved Permanently
  6. Location: https://repick.co// [following]
  7. --2020-02-02 16:38:33-- https://repick.co//
  8. Reusing existing connection to repick.co:443.
  9. HTTP request sent, awaiting response... 301 Moved Permanently
  10. Location: https://repick.co// [following]
  11. --2020-02-02 16:38:33-- https://repick.co//
  12. Reusing existing connection to repick.co:443.
  13. HTTP request sent, awaiting response... 301 Moved Permanently
  14. Location: https://repick.co// [following]
  15. --2020-02-02 16:38:33-- https://repick.co//
  16. Reusing existing connection to repick.co:443.
  17. HTTP request sent, awaiting response... 301 Moved Permanently
  18. Location: https://repick.co// [following]
  19.  
  20. Heres my nginx config:
  21.  
  22. server {
  23. listen 443 ssl;
  24.  
  25. server_name localhost;
  26. rewrite ^/(.*)/$ /$1 permanent;
  27.  
  28. ssl_certificate /usr/local/etc/nginx/repickssl/cert.pem;
  29. ssl_certificate_key /usr/local/etc/nginx/repickssl/key.pem;
  30.  
  31. location / {
  32. proxy_pass http://localhost:3000;
  33. proxy_http_version 1.1;
  34. proxy_set_header Upgrade $http_upgrade;
  35. proxy_set_header Connection 'upgrade';
  36. proxy_set_header Host $host;
  37. proxy_cache_bypass $http_upgrade;
  38. }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement