-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: http/https server and custom domain for everyone! #105
Comments
admin-tools#154 will be helpful for this as well as nginx/main.yml |
Yep, I contributed to the original nginx service, but it turns to be not very useful to most users. This issue is to track the improvements. |
This seems like a decent roadmap but I do think we should stick with We already do have a systemd unit that users can enable, |
dns records for *..hashbang.sh haven't been deployed yet which is the main blocker I opened a PR for shellserver wildcard records |
The
|
@Arnie97 try:
|
Also, it's likely that port 8080 is taken. All users as of right now (and probably in the future as well) will be sharing the same address space, so it would be wise to pick one that likely isn't already used. |
As of right now, HTTPS is working. I do not see a valid solution for other peoples' domains at this point other than having some kind of domain-based challenge system. |
Did anything progress regarding custom domains? 🙂 |
We currently do not have any system set up for custom domains. At this point, I believe it would require some advanced proxy logic (dynamically looking up CNAMEs for incoming records to see which user they should go to) that's more complicated than the current setup and I don't have the time to write it. |
So, let's improve the nginx on shell server to next level!
Currently shell-server has a basic nginx service is nearly hard to use for new users.
So the plan is:
having a global nginx server listening on port 80 and 443
default etc/skel to provide
http://<user>.<server>.hashbang.sh
from~user/.nginx.sock
optional etc/skel to provide https service
https://<user>.<server>.hashbang.sh
from~user/.nginx.https.sock
custom domains
/var/run/nginx/<domain>.http.sock
/var/run/nginx/<domain>.https.sock
The global nginx server config looks like this (the ssl part)
The text was updated successfully, but these errors were encountered: