Hey @Nick-B !
I’ve finally had some time to do that. Spun a new WordPress site enforcing HTTPS/SSL on the WP Admin as ususal. Didn’t even try the Hummingbird, just pasted your contents into my nginx.conf.hbs
and the 502s are there.
You’ll find attached my LocalWP Logs and also my wp-config.php
file just in case.
local-lightning-verbose.log (21.7 KB)
local-lightning.log (5.3 KB)
And my wp-config.php file:
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the installation.
* You don't have to use the web site, you can copy this file to "wp-config.php"
* and fill in the values.
*
* This file contains the following configurations:
*
* * Database settings
* * Secret keys
* * Database table prefix
* * Localized language
* * ABSPATH
*
* @link https://wordpress.org/support/article/editing-wp-config-php/
*
* @package WordPress
* /
// ** Database settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'local' );
/** Database username */
define( 'DB_USER', 'root' );
/** Database password */
define( 'DB_PASSWORD', 'root' );
/** Database hostname */
define( 'DB_HOST', 'localhost' );
/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8' );
/** The database collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );
/* WP PHP Memory Settings */
define('WP_MEMORY_LIMIT', '256M');
define('WP_MAX_MEMORY_LIMIT', '512M');
/* Disable WordPress Updates */
define('WP_AUTO_UPDATE_CORE', false);
define('AUTOMATIC_UPDATER_DISABLED', true);
/**#@+
* Authentication unique keys and salts.
*
* Change these to different unique phrases! You can generate these using
* the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.
*
* You can change these at any point in time to invalidate all existing cookies.
* This will force all users to have to log in again.
*
* @since 2.6.0
*/
define( 'AUTH_KEY', 'P)wl]Z5(60hy+,4UzlY.PX_n1vsdjhoeGT$mo.4f7&ayFvf%& ^%$-3Q@_ZepY9b' );
define( 'SECURE_AUTH_KEY', '^Xyz$QV=OF!=x-NB3DAs^25)5;ko<LhIjMm@wHD5Fy%mEih=K`LEVuE*lwd&:z.@' );
define( 'LOGGED_IN_KEY', 'tYJh1&bWmZNXk[193BM/3cd<R@&AbtMj_OfUMXxDK*pO`=$A;y>Ng!]82{>y}r5=' );
define( 'NONCE_KEY', 'q!*G8`_?)3Pl[ngsDd~[X=-dn>3[1RK&rNi>[HzynU/2ro`y=fK]Qoh GLmm}<w,' );
define( 'AUTH_SALT', 'I*cRHd&m}sA}vmIz03c:sVEFZlV->ZKqX0*2zi_QPH%+|PWVzfO Xv+|aczy5kkS' );
define( 'SECURE_AUTH_SALT', ']%lnZ{t@=|uM60^n`]EGPg71g1TYRY.YRT[M*K?psER(6YI)T9Ica5PhYP&&~3uo' );
define( 'LOGGED_IN_SALT', 'mk<|F9)8],I4GrA)}fa~|.bV$>H%__{2hUH2c;yYmiP&fHp%ea1g}p6P_Wy4|g&S' );
define( 'NONCE_SALT', 'y9#CJJDh%#tpmBD0.u1U<}aT9H K{ib_}Ji%=[U|S+2j1f,dzg[]?UPvyDJfq%ff' );
define( 'WP_CACHE_KEY_SALT', 'b}{V;=Li#s)j%^%RcVAoOw5<))[)3z/lA@RwOUJ*Ad7};9@Js>1v77h4b-&RgM4J' );
/**
* WordPress database table prefix.
*
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'wp_';
/* Add any custom values between this line and the "stop editing" line. */
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*
* For information on other constants that can be used for debugging,
* visit the documentation.
*
* @link https://wordpress.org/support/article/debugging-in-wordpress/
*/
/* Prevent WordPress asking FTP credentials */
define('FS_METHOD','direct');
/* WordPress Debug Mode */
define('WP_DEBUG', false);
define('WP_DEBUG_LOG', false);
define('WP_DEBUG_DISPLAY', false);
/** Forces WordPress to load REST API **/
define('WP_REST_API_DISABLED', false);
/** Disable the Plugin and Theme Editor **/
define( 'DISALLOW_FILE_EDIT', true );
/** Enforce SSL on WP Login and WP Admin **/
define('FORCE_SSL_ADMIN', true);
define('FORCE_SSL_LOGIN', true);
/** LocalWP Environment **/
define( 'WP_ENVIRONMENT_TYPE', 'local' );
/* That's all, stop editing! Happy publishing. */
/* Inserted by Local by Flywheel. See: http://codex.wordpress.org/Administration_Over_SSL#Using_a_Reverse_Proxy */
if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https') {
$_SERVER['HTTPS'] = 'on';
}
/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', __DIR__ . '/' );
}
/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';
I hope you can find something to help on those.
Thank you very much once more for all your help and support.
Best regards