-
Notifications
You must be signed in to change notification settings - Fork 924
Use a different URL. #11
Comments
Check out this explanation for a way to have apache connect to cloud9 by proxying the url. |
Thank for your reply. |
I am not sure. You'd have to check the code. I'd welcome a patch for this. |
OK, thank you. I will check the code later. |
Why not just rewrite? location /c9/ {
rewrite ^/c9(/.*)$ $1 break;
proxy_pass http://127.0.0.1:8181/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_redirect off;
} |
same problem with me. |
Simply using nginx rewrite might not work because client doesn't use relative urls. |
I tried accomplishing this solely with apache settings... No dice... I almost got it by regexing the referer request header as a condition for rewriting to proxy and add the new base path... Would be nice if this was supported out of box. |
Hello. This is a really important feature. I need to be able to run the editor on a shared hosting server where I do web development. I can't hog up port 80, and there are no other ports open (except 465). |
I would like to see this as well |
I was able to get pretty close using node's 'express-http-proxy' like this:
This would load all the content correctly, however there were definitely issues and was unusable, lots of loading without ever working. Would love to see this issue resolved! |
Hello, Any news on when it will be fixed? Thank you, |
@hvintik -- I don't think it's a matter of being "fixed." It's really a feature request, not a bug report. However, I am interested in the same thing because I want to use c9 on shared hosting. Here is another thread about it. https://community.c9.io/t/run-cloud9-under-subdirectory/8152 I still haven't tried the subdomain technique. Also look at these: https://stackoverflow.com/questions/48635552/how-to-programmatically-communicate-with-apache |
wow I had more than a day on this! :( |
I have the same issue , it would be nice that by the command: |
This is now: http://vncprado.github.io/how-to-install-and-configure-cloud9-in-your-own-server/ |
I really want this, as my Apache proxy applies the SSL cert to all internal web pages, so I need to connect via https://mywebsite/somesubdirectory/ide.html |
This is a blocker for me, too. I need to run this behind an NGINX reverse proxy on a different path. Surprised to find it isn't possible. |
this is nice IDE, at home i can use it it is very frustrating that i cannot a simple ProxyPass /c9ide/ http://192.168.x.x:8181/ |
I have the same issue. How to run it behind an NGINX reverse proxy? |
I have tried to change some profiles and it does work in my cloud9.There are files which I have modyfied.I hope it will help someone. ##client端的相对路径变更 ##html页面 |
Hi @daozhenpan |
Hi,
In C9, how can I use a different URL but http://localhost:8181/ide.html. I would like to use it as:
http://localhost:8181/c9/ide.html
Then I can setup the SDK environment together with Apache. Any settings? Thank you.
The text was updated successfully, but these errors were encountered: