-
-
Notifications
You must be signed in to change notification settings - Fork 742
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
run on vps and domain #51
Comments
You Can setup a reverse proxy or port forwading or VPN Tunnel Like cloudflareSet Up Nginx Reverse Proxy for Webserver WebUIA reverse proxy is a proxy for another web server, in this case the WebUI. Setting up Nginx reverse proxy makes it easy to enable HTTPS protocol. Install Nginx on Ubuntu 18.04.
Start Nginx.
Then create a Nginx server block file for WebUI.
Copy and paste the following texts into the file. Replace the red-colored text with your own domain name and the IP address of your Ubuntu server. You should also set the A record for your domain name. If you don’t have a domain name yet, then I recommend buying domain name from Namecheap because their price is lower than GoDaddy and they give you whois privacy protection free of charge.
Save and close the file. Then test Nginx configuration.
If the test is successful, reload Nginx
Now in your router, forward HTTP request (port 80) to the IP address of your Ubuntu server. After that, you can access WebUI via your domain name ( Note: If your ISP gives you a NAT-ed IP address, i.e. not a public IP address, then port forwarding won’t work. Instead, you need to use PageKite to expose local web server to the Internet. Enable HTTPS to Encrypt CommunicationsTo secure the Web UI, you can install a free TLS certificate issued by Let’s Encrypt. First you need to install the Let’s Encrypt client (certbot) on Ubuntu 18.04 server.
Once that’s done, refresh the Web UI. It will be automatically redirected to HTTPS connection. In my case I used CloudFlare for VPN Tunnel |
how to run this,on the vps and connect a domain?
The text was updated successfully, but these errors were encountered: