"Nice" URLs in custom.yaml


#1

Hi, I have my server setup and everything running perfectly. Great job guys. I have one small change I would love -> I have a website setup with a couple of static HTML pages, one of them is:

www.mydomain.com/index_de.html#agbs 

and would like to print the address on my bills as

   www.mydomain.com/abg

and would like to redirect this “nice” url to the one on the top. I setup a custom.yaml file (/home/user-data/www/custom.yaml) containing

mydomain.cc:
  redirects:
    ^/agb: https://mydomain.cc/sundry_de.html#abgs

but this didn’t seem to help at all (I did a reboot).

What am I doing wrong?

Greetings
Ursus


#2

OK, now the redirect works (there seems to be some job or other that runs @ 3 that processes this file) but… I am getting the error:

Error Provisioning TLS Certificate

sent to me daily
any ideas?


closed #3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.