war1000 Posted July 29, 2020 Posted July 29, 2020 Hi Everyone, I want to host a simple site on Wordpress on my unraid server. I have setup Letsencrypt, Wordpress, MariaDB, Phpmyadmin. My Letsencrypt routing works but I didn't find a proxy-confs file for Wordpress in nginx\proxy-confs directory. I tried to use the adgurd.subdomain.conf (renamed) configs, but the Wordpress site doesn't render properly. Now I know that the Letsencrypt docker has a webserver build in it and if I put the site in the letsencrypt\www directory, the site works. However, I the process of editing the site is not as straightforward as editing the site from the Wordpress Admin. Is there a way to point the Wordpress (Docker) site to save directly into the letsencrypt\www directory? What would be the recommended solution to this? Thanks for your help. Quote
war1000 Posted July 29, 2020 Author Posted July 29, 2020 Ok...looks like I might have found an interim solution with WP2Static plugin. Export the WordPress to a static site. Not ideal however. Anyways, if anyone has any recommendation. Please let me know. Thanks! Quote
war1000 Posted July 29, 2020 Author Posted July 29, 2020 Ok...definitely spoke too soon....the Static conversion does not render very well it seems Quote
testdasi Posted July 29, 2020 Posted July 29, 2020 There's a guide on technicalramblings with the nginx config. You don't need the Wordpress docker. You need the LSIO Letsencrypt docker (which includes nginx) and mariadb (for the database) and download the wordpress download directly from wordpress.org https://technicalramblings.com/blog/how-to-set-up-a-wordpress-site-with-letsencrypt-and-mariadb-on-unraid/ 1 Quote
war1000 Posted July 29, 2020 Author Posted July 29, 2020 Thank you! I will review this. I can remove the Wordpress Docker and install Wordpress directly then. Quote
war1000 Posted July 29, 2020 Author Posted July 29, 2020 This works! Thank you! On a different note, when I go to my site without putting "www" in the www.example.com, I get to the following site instead. My cloudflare for the A record is as follows: I do not know where this A record points to. Since I do not have a permanet IP, I can't really change this A record IP (unless there is a way). Cloudflare only allows a static IP in there. Is the A record causing this or is there something I can do in the nginx config? Quote
testdasi Posted July 29, 2020 Posted July 29, 2020 1 minute ago, war1000 said: This works! Thank you! On a different note, when I go to my site without putting "www" in the www.example.com, I get to the following site instead. My cloudflare for the A record is as follows: I do not know where this A record points to. Since I do not have a permanet IP, I can't really change this A record IP (unless there is a way). Cloudflare only allows a static IP in there. Is the A record causing this or is there something I can do in the nginx config? I'm not sure how cloudflare determines the A record. What you can try is to get the API code from cloudflare and install the cloudflare docker from the Unraid app store which will do DDNS for you (instead of relying on duckdns). That may resolve the A record issue (if cloudflare is smart enough to update the A record to the dynamic IP). Quote
war1000 Posted July 29, 2020 Author Posted July 29, 2020 super! Thank you for all the help. I also generated domain level cert and now not getting any cert error either. Quote
techgeeksvk Posted July 23 Posted July 23 Hello have you ever get it working? The blog was removed. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.