„hugo.yml“ ändern
This commit is contained in:
parent
f4d209cff7
commit
4379136b69
6
hugo.yml
6
hugo.yml
@ -25,8 +25,8 @@
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
WorkingDirectory=/home/docker/nextcloud.defiant.dedyn.io/nextcloud-data/data/olli/files/Projekte/hugo/gabosh-blog
|
WorkingDirectory=/home/docker/nextcloud.{{ ansible_facts['hostname'] }}/nextcloud-data/data/olli/files/Projekte/hugo/gabosh-blog
|
||||||
ExecStart=hugo server --bind=192.168.41.1 --port=1313 --baseURL=https://blog.defiant.dedyn.io --buildDrafts --disableFastRender --appendPort=false
|
ExecStart=hugo server --bind=192.168.41.1 --port=1313 --baseURL=https://blog.{{ ansible_facts['hostname'] }} --buildDrafts --disableFastRender --appendPort=false
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartPreventExitStatus=255
|
RestartPreventExitStatus=255
|
||||||
@ -52,7 +52,7 @@
|
|||||||
http:
|
http:
|
||||||
routers:
|
routers:
|
||||||
hugo-blog:
|
hugo-blog:
|
||||||
rule: "Host(`blog.defiant.dedyn.io`) || Host(`blog.gabosh.net`)"
|
rule: "Host(`{{ ansible_facts['hostname'] }}`)"
|
||||||
service: hugo-blog
|
service: hugo-blog
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- "https"
|
- "https"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user