„hugo.yml“ ändern

This commit is contained in:
olli 2022-11-29 10:59:20 +01:00
parent 4379136b69
commit f08b8adafe

View File

@ -25,8 +25,8 @@
[Service]
Type=simple
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.{{ ansible_facts['hostname'] }} --buildDrafts --disableFastRender --appendPort=false
WorkingDirectory=/home/docker/nextcloud.{{inventory_hostname}}/nextcloud-data/data/olli/files/Projekte/hugo/gabosh-blog
ExecStart=hugo server --bind=192.168.41.1 --port=1313 --baseURL=https://blog.{{inventory_hostname}} --buildDrafts --disableFastRender --appendPort=false
KillMode=process
Restart=on-failure
RestartPreventExitStatus=255
@ -52,7 +52,7 @@
http:
routers:
hugo-blog:
rule: "Host(`{{ ansible_facts['hostname'] }}`)"
rule: "Host(`blog.{{inventory_hostname}}`)"
service: hugo-blog
entryPoints:
- "https"