Skip to content

https(SSL) load failed #13832

Answered by passion123
passion123 asked this question in Q&A
Discussion options

You must be logged in to vote

Here answer my question by myself:
Config the Nginx as follow:
server {
listen [::]:443 ssl;
listen 443 ssl;
.....
location /theia/ { ## setting the theia option as the first location option is needed
proxy_read_timeout 50000;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;

                  # ws 
                  proxy_set_header                Upgrade $http_upgrade;
                  proxy_set_header                Connection "Upgrade";
                  rewrite /theia/(.*) /$1 break;
                  proxy_pass http://xx.xx.xxx.xxx:xxxx/;
                  proxy_cookie_doma…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by passion123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant