Find Jobs
Hire Freelancers

Websockets configuration with nginx and SSL

$10-30 USD

Closed
Posted almost 6 years ago

$10-30 USD

Paid on delivery
After adding the SSL certificates successfully, we are getting a timeout error on the browser. See here screenshot of the browser's log: [login to view URL] Has anyone experienced anything similar? Please, let me know if you need more details of the set up. See below our nginx configuration listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/casista.com-0001/[login to view URL]; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/casista.com-0001/[login to view URL]; # managed by Certbot include /etc/letsencrypt/[login to view URL]; # managed by Certbot ssl_dhparam /etc/letsencrypt/[login to view URL]; # managed by Certbot upstream chatserver { server [login to view URL]; } client_max_body_size 4G; access_log /var/log/nginx/[login to view URL]; error_log /var/log/nginx/[login to view URL]; location = /[login to view URL] { access_log off; log_not_found off; } location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; proxy_set_header Host $host; proxy_redirect off; if (!-f $request_filename) { proxy_pass http://unix:/home/ubuntu/mywasi-root/mywasi/[login to view URL]; break; } # include proxy_params; location /ws { # proxy_pass [login to view URL]; proxy_pass http://chatserver; # proxy_pass http://localhost:8765; proxy_connect_timeout 7d; proxy_read_timeout 7d; proxy_send_timeout 7d; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } auth_basic "Restricted content"; auth_basic_user_file /etc/nginx/.htpasswd; } location /static/ { alias /home/ubuntu/mywasi-root/mywasi/staticfiles/; autoindex off; } location /media/ { alias /home/ubuntu/mywasi-root/mywasi/media/; autoindex off; }
Project ID: 17163525

About the project

5 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $22 USD for this job
User Avatar
Expert in server management VPS, Dedicated, AWS, SSL Certificate, DNS, Centos, Cpanel/WHM/Plesk, Web panel, Apache Debian, Nginx, Ubuntu Power MTA, Interspire, Expert in Migration services I have 6+ years experience I have read your requirements ping me when you want to start I am ready to start right away. Thanks !
$27 USD in 1 day
5.0 (63 reviews)
5.3
5.3
User Avatar
Hello. I can fix the issue. Please contact me over live chat. ready to start instantly. thankyou. .
$20 USD in 1 day
5.0 (4 reviews)
2.2
2.2
User Avatar
I can easily do this task as my technical skills as well as good command over language makes me the best suitable candidate for this job
$10 USD in 1 day
5.0 (5 reviews)
2.1
2.1

About the client

Flag of UNITED KINGDOM
London, United Kingdom
0.0
0
Payment method verified
Member since Oct 3, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.