Usage of custom domains on nginx
I'd love to be able to use a custom domain on the Ultra.cc nginx server. It will be able to provide benefits such as:
Being able to configure proxies (e.g., Cloudflare) to cache certain content and provide further security, therefore saving both upload bandwidth and exploit attempts.
Being able to bypass any firewalls that block Ultra.cc domains such as usbx.me for any reason.
Having both email and seedbox on one domain, so example.com can lead to Jellyfin, as well as a mail server.
Not being limited to a subdomain and allowing users to manage DNS for other services, to work alongside their seedbox all on one domain.
Would love to know everyone's thoughts on this. Thanks!
Comments9
An Anonymous User
Jan 15
I was able to successfully forward my custom hostname in the meantime. In your external Nginx configuration, the only requirement is to pass the hostname expected by Ultra.CC via the proxy header. This can be set e.g. in Nginx-Proxy-Manager inside custom location:
location / {
proxy_pass <URL to UltraCC-Jellyfin>;
proxy_redirect <URL to UltraCC-Jellyfin> <your-own-URL>;
proxy_set_header Host <UltraCC-Hostname>;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
xeploid
Feb 18, 2024
It's even more unfortunate this was rejected, given the SmartScreen issues right now. That's the "danger" with sharing a domain, you also share the reputation and can get hit in the crossfire.
jiru
Dec 6, 2023
While you cannot do custom domains on your ultra box, you can set up your own nginx instance and proxy to your ultra services. Steps:
Use
app-ports showto list your apps and the assigned port. Take Sonarr for example and let's say it shows port 37406 as the assigned port.Get your box's fqdn. It's your server name +
-direct.usbx.me. If your server name isAres, then your box's fqdn isares-direct.usbx.me.Set up your own nginx instance to proxy_pass to
http://ares-direct.usbx.me:37406, obviously, substituting your own FQDN and port.Note, depending on the setup of the app, that may lead to insecure comms on that last-mile leg of the trip. It also can introduce latency. If your ultra box is hosted in the EU, then put your nginx server also in the EU. The only major latency added then is the latency from you to the nginx gateway (x2 to account for the round trip).
Anonymous User
Feb 21, 2024
You can actually modify your nginx confinon the server itself.
Mark Young
Oct 30, 2023
Great suggestion - I would love to even have the ability to reverse proxy to my Ultra domain from my own nginx instance
varg
Oct 27, 2023
Unfortunately, we do not have any current plans to implement a custom domain feature.