WordOps / WordOps

Install and manage a high performance WordPress stack with a few keystrokes

Home Page:https://wordops.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Following #549 can we have a .mustache template for /etc/nginx/conf.d/force-ssl-?.com.conf

JPaulMora opened this issue · comments

Thanks, this is the only thing missing to have a very customizable setup.

Hello @JPaulMora,

yes sure.

image

Was this added in recent update? Seems to be causing issues here in latest update if so. Causing nginx -t to fail since I updated

I think it should be {{domains}} instead of {domains} (double brace, not single). I'm going to run some tests here to make sure, but if someone else can confirm this is the case, better.

I can confirm the problem are the single braces in the template file.

Command was "sudo -E wo site create ex.com --wpredis --php82 --letsencrypt=wildcard --dns=dns_cf --hsts --user=admin" if that helps too.

I just created a pull request to fix this. Now it's up to @VirtuBox to accept it and create a maintenance release to address this bug.

A new release will be available in the next few minutes. Thank you @janiosarmento for your PR.

Thanks a lot, where should I put my ssl.mustache for this to work?

You only have to update WordOps to latest version.