https://github.com/nanasess/azure-miraclelinux-template
https://github.com/nanasess/azure-miraclelinux-template
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nanasess/azure-miraclelinux-template
- Owner: nanasess
- Created: 2022-09-27T09:06:59.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-22T15:56:17.000Z (almost 3 years ago)
- Last Synced: 2025-01-14T05:11:42.673Z (9 months ago)
- Language: Shell
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
description: A blank template and empty parameters file.
page_type: sample
products:
- azure
- azure-resource-manager
urlFragment: 100-blank-template
languages:
- json
- bicep
---
# Blank Template



[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fnanasess%2Fazure-miraclelinux-template%2Fmain%2Fazuredeploy.json)
[](http://armviz.io/#/?load=https%3A%2F%2Fraw.githubusercontent.com%2Fnanasess%2Fazure-miraclelinux-template%2Fmain%2Fazuredeploy.json)
`Tags: empty, blank`
## WordPress の自動更新を設定する
```php
// wp-config.php
define('FS_METHOD', 'ssh2');
define('FTP_BASE', '/path/to/wp/');
define('FTP_CONTENT_DIR', '/path/to/wp/wp-content/');
define('FTP_PLUGIN_DIR ', '/path/to/wp/wp-content/plugins/');
define('FTP_PUBKEY', '/var/www/.ssh/id_rsa.pub');
define('FTP_PRIKEY', '/var/www/.ssh/id_rsa');
define('FTP_USER', '${adminUsername}');
define('FTP_HOST', 'localhost');
```WordPress を Git で管理している場合は以下を追加
```php
// wp-content/themes/themeName/functions.php
add_filter( 'automatic_updates_is_vcs_checkout', '__return_false', 1 );
```### See Also
- https://ja.wordpress.org/support/article/editing-wp-config-php/
- https://www.systemajik.com/wordpress-ssh2-configuration/