Tag: NGINX

  • How to setup a secure WordPress site in a docker container in OMV

    I have a home server where I use OMV in for various purposes. In the recent years, I tried to setup a WordPress site numerous times. Whenever I tried I had a problem setting a secure site using nginx. Recently, I tried one more time, spent a lot hours and I didn’t give up. Eventually, I was successful. Whenever I was stuck, I searched the internet to find a solution. There are similar setup guides online however none of them worked for me as out of box. In this post, I explain step-by-step what to do to have a secure WordPress website.

    Steps

    1. Create containers
    2. Forward ports
    3. Modify default in site-conf
    4. Restart swag

    Create a docker file as below. We need maria mysql database and swag modules in the file.

    wget https://WordPress/

    Your default site config should look like this: