Skip to content

Commit

Permalink
Change some things on suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
hpowernl committed Dec 13, 2024
1 parent a7c8fe4 commit 064ec4a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ For the WordPress/WooCommerce plugin [Converter for Media – Optimize images |
First, check if your VHOSTS has the correct type by running the following command:

```bash
hmv --list

app@abcdef-example-magweb-cmbl ~ $ hmv --list
```

Running this command will give you an output like this:
Expand All @@ -37,7 +36,7 @@ Running this command will give you an output like this:
As you can see, the type is incorrect because it needs to be set to WordPress. To change this, use the following command:

```bash
hmv --type wordpress --https test.hypernode.io
app@abcdef-example-magweb-cmbl ~ $ hmv --type wordpress --https test.hypernode.io
```

After running this command, your VHOSTS will be set to WordPress. Make sure to replace `test.hypernode.io` with your actual domain name.
Expand Down Expand Up @@ -77,7 +76,7 @@ Place the above configuration in `/data/web/server.media.conf.` Once you save th
To test the configuration, you can use the following command:

```bash
~ curl -IL -H "Accept: image/webp" https://test.hypernode.io/wp-content/upload/test.jpg
$ curl -IL -H "Accept: image/webp" https://test.hypernode.io/wp-content/upload/test.jpg

HTTP/2 200
server: nginx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This code disables the default WordPress cron functionality, allowing you to set
Next, set up a cron job on your Hypernode server. Log in to your server via SSH and open your crontab file with the following command:

```bash
crontab -e
app@abcdef-example-magweb-cmbl ~ $ crontab -e
```

Add the following line to your crontab file to set up a cron job that runs every minute:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Due to the complexity of the cache module in "W3 Total Cache" and the possibilit

## How to Install Redis Object Cache

Redis is already active on the server on port 6379.
Redis is already active on the server on port `6379`.

Next, install the Redis Object Cache plugin via the WordPress Dashboard or using Composer. For detailed installation instructions, please refer to the standard installation procedure for WordPress plugins.

Expand Down

0 comments on commit 064ec4a

Please sign in to comment.