add: projects
This commit is contained in:
@ -18,7 +18,7 @@ As described in the intro one of the big problems of self hosted on a non profes
|
||||
> Dynamic DNS (DDNS) is a method of automatically updating a name server in the Domain Name System (DNS), often in real time, with the active DDNS configuration of its configured hostnames, addresses or other information.
|
||||
> — <cite>[Wikipedia](https://en.wikipedia.org/wiki/Dynamic_DNS)</cite>
|
||||
|
||||
<img class="thumbnailshadow" src="img/image-1.png"/>
|
||||
<img src="img/image-1.png"/>
|
||||
|
||||
The operation of DDNS is separated into 3 parts:
|
||||
|
||||
@ -36,11 +36,11 @@ If you have a fixed IP with your internet provider, you do not need to do the fo
|
||||
|
||||
In my case I decided to use [DuckDNS](https://www.duckdns.org), it's a free service and easily configurable. First you will have to create an account with the service of your choice. Then you have to get your token, it's your unique identifier that will allow DuckDNS to identify you.
|
||||
|
||||
<img class="thumbnailshadow" src="img/image-2.png"/>
|
||||
<img src="img/image-2.png"/>
|
||||
|
||||
You will now have to create a sub domain to the duckdns.org domain. To do this, simply fill in the "sub domain" field and click on "add domain".
|
||||
|
||||
<img class="thumbnailshadow" src="img/image-3.png"/>
|
||||
<img src="img/image-3.png"/>
|
||||
|
||||
Then go to your docker manager to install the [linuxserver/duckdns](https://hub.docker.com/r/linuxserver/duckdns) docker. The docker compose is quite simple, you just have to indicate the two following elements:
|
||||
|
||||
@ -51,7 +51,7 @@ TOKEN=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
||||
|
||||
You can then launch the docker, if all is well configured you can return to DuckDNS and verify that it has received your IP:
|
||||
|
||||
<img class="thumbnailshadow" src="img/image-4.png"/>
|
||||
<img src="img/image-4.png"/>
|
||||
|
||||
## Sub-domain creation
|
||||
Now that we have a domain at DuckDNS, we will have to link our personal domain/sub-domain to the DuckDNS sub-domain.
|
||||
@ -65,7 +65,7 @@ To do the redirection you have to create DNS entries of type CNAME.
|
||||
|
||||
To create a CNAME entry, all you need is a sub-domain and a target :
|
||||
|
||||
<img class="thumbnailshadow" src="img/image-5.png"/>
|
||||
<img src="img/image-5.png"/>
|
||||
|
||||
In this example I create a sub-domain "www.d3vyce.fr" which redirects to the DuckDNS domain "xxxx.duckdns.org". Once the information is propagated on the different DNS servers, I should be able to access the IP of my box via this sub-domain.
|
||||
|
||||
@ -96,7 +96,7 @@ To do this we will set up a Reserve Proxy.
|
||||
> A reverse proxy server is a type of proxy server that typically sits behind the firewall in a private network and directs client requests to the appropriate backend server.
|
||||
> — <cite>[Nginx.com](https://www.nginx.com/resources/glossary/reverse-proxy-server)</cite>
|
||||
|
||||
<img class="thumbnailshadow" src="img/image-6.png"/>
|
||||
<img src="img/image-6.png"/>
|
||||
|
||||
Globally the reverse proxy will inspect the source domain to determine which local IP/Port to redirect the request to.
|
||||
|
||||
@ -144,7 +144,7 @@ Password: changeme
|
||||
|
||||
After creating a user, we can add our first service! To do this go to the Hosts -> Proxy Hosts tab. Now click on "Add Proxy Host".
|
||||
|
||||
<img class="thumbnailshadow" src="img/image-7.png"/>
|
||||
<img src="img/image-7.png"/>
|
||||
|
||||
This is where we will have to fill in our sub-domain, local IP of the service and its port. In the example above, I configure the sub-domain "test.d3vyce.fr" with the local web server which is at the address 192.168.1.10:80.
|
||||
|
||||
@ -156,7 +156,7 @@ The "Websockets Support" option can be the cause of problems for some applicatio
|
||||
|
||||
Now let's configure our SSL certificate.
|
||||
|
||||
<img class="thumbnailshadow" src="img/image-8.png"/>
|
||||
<img src="img/image-8.png"/>
|
||||
|
||||
Select the option "Request a new SSL Certificate" then the options "Force SSL", "HTTP/2 Support" and "HSTS Enabled". Then fill in our email and accept the terms of service. You can now save. After a few seconds you should see the status "Online" for your subdomain. If you have no errors you can now access your service with this subdomain! Using the same principle, you can setup other services.
|
||||
|
||||
|
Reference in New Issue
Block a user