Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
The README can be simplified somewhat as a result of the automation of WP-CONFIG.PHP configuration (including reverse proxy code) in v1.4.4.
  • Loading branch information
basilhendroff authored Oct 18, 2020
1 parent e142114 commit 575c96f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ This script will work with FreeNAS 11.3, and it should also work with TrueNAS CO
## Usage

### Prerequisites (Reverse Proxy)
The WordPress jail created by this script is designed to work behind a reverse proxy. If you don't already have a reverse proxy in place, you must set this up first. Do not attempt to run the WordPress setup wizard directly from the jail. I cannot impress the importance of this enough; you must run the WordPress setup wizard using the FQDN for the jail (as configured in the reverse proxy) and not via the jail IP.

Running the WordPress wizard directly from the jail messes with the formatting when later trying to retrofit WordPress behind a reverse proxy. To appreciate this issue, refer to item **3. Problems retrofitting a WordPress jail behind a reverse proxy** in the blog post [WordPress Script: Opportunities for Improvement](https://blog.udance.com.au/2020/09/20/wordpress-script-opportunities-for-improvement/).

**AGAIN, DO NOT ATTEMPT TO SET UP AND USE THIS RESOURCE WITHOUT A REVERSE PROXY. IT MAY BE IMPOSSIBLE LATER TO RETROFIT IT BEHIND A REVERSE PROXY.**
The WordPress jail created by this script is designed to work behind a reverse proxy.

If you need to set up a reverse proxy, there are at least two resources available in the resources section of the FreeNAS forum that you might like to consider:
1. [Reverse Proxy using Caddy (with optional automatic TLS)](https://www.ixsystems.com/community/resources/reverse-proxy-using-caddy-with-optional-automatic-tls.114/)
Expand Down

0 comments on commit 575c96f

Please sign in to comment.