Comet

  • Diary
  • Travel
  • Fun
  • Tech
Wordpress
Tech

Wordpress Setup and SSL

Docker compose to set up containers See docker compose https://github.com/kasakun/wordpress-nginx-docker. Nginx is the front end, in the mean time Wordpress and mysql serve as a standalone server. This gives me ability to add more service in future easily. Before starting the container with docker-compose, we need to edit .env to customize data and ssl location. Sometimes we need chmod permission for this folders for Wordpress to write in. Auto SSL Here we use acme script from https://github.com/acmesh-official/acme.sh After installation, we can go ahead to verify the domain and the server that we need to specify the server webroot in the command The $WEBROOT is somehow defined in the .env above. After running this command, it will issue a certificate and meanwhile set up a cron job. This can be checked by

January 31, 2022 0comments 519hotness 0likes kasakun Read all

kasakun

Talk less, smile more.

Tag aggregation
2021 2019 2024 2023 2020 2022 Book Movie

COPYRIGHT © 2018-2022 Space. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang