· 6 years ago · Apr 02, 2019, 10:40 AM
1<?php
2/**
3 * The base configuration for WordPress
4 *
5 * The wp-config.php creation script uses this file during the
6 * installation. You don't have to use the web site, you can
7 * copy this file to "wp-config.php" and fill in the values.
8 *
9 * This file contains the following configurations:
10 *
11 * * MySQL settings
12 * * Secret keys
13 * * Database table prefix
14 * * ABSPATH
15 *
16 * @link https://codex.wordpress.org/Editing_wp-config.php
17 *
18 * @package WordPress
19 */
20
21if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
22 $_SERVER['HTTPS']='on';
23
24// ** MySQL settings - You can get this info from your web host ** //
25/** The name of the database for WordPress */
26define( 'DB_NAME', 'wordpress');
27
28/** MySQL database username */
29define( 'DB_USER', 'root');
30
31/** MySQL database password */
32define( 'DB_PASSWORD', '1S8gShzqEPTXpPexeqcQg5JwQfb50vI75Q==');
33
34/** MySQL hostname */
35define( 'DB_HOST', 'happyhomerenov-db');
36
37/** Database Charset to use in creating database tables. */
38define( 'DB_CHARSET', 'utf8');
39
40/** The Database Collate type. Don't change this if in doubt. */
41define( 'DB_COLLATE', '');
42
43define( 'WP_HOME', 'https://happyhomerenovations.ca' );
44define( 'WP_SITEURL', 'https://happyhomerenovations.ca' );
45/**#@+
46 * Authentication Unique Keys and Salts.
47 *
48 * Change these to different unique phrases!
49 * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
50 * 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.
51 *
52 * @since 2.6.0
53 */
54define( 'AUTH_KEY', 'put your unique phrase here' );
55define( 'SECURE_AUTH_KEY', 'put your unique phrase here' );
56define( 'LOGGED_IN_KEY', 'put your unique phrase here' );
57define( 'NONCE_KEY', 'put your unique phrase here' );
58define( 'AUTH_SALT', 'put your unique phrase here' );
59define( 'NONCE_KEY', 'put your unique phrase here' );
60define( 'AUTH_SALT', 'put your unique phrase here' );
61define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
62define( 'LOGGED_IN_SALT', 'put your unique phrase here' );
63define( 'NONCE_SALT', 'put your unique phrase here' );
64
65/**#@-*/
66
67/**
68 * WordPress Database Table prefix.
69 *
70 * You can have multiple installations in one database if you give each
71 * a unique prefix. Only numbers, letters, and underscores please!
72 */
73$table_prefix = 'wp_';
74
75/**
76 * For developers: WordPress debugging mode.
77 *
78 * Change this to true to enable the display of notices during development.
79 * It is strongly recommended that plugin and theme developers use WP_DEBUG
80 * in their development environments.
81 *
82 * For information on other constants that can be used for debugging,
83 * visit the Codex.
84 *
85 * @link https://codex.wordpress.org/Debugging_in_WordPress
86 */
87define( 'WP_DEBUG', false );
88
89/* That's all, stop editing! Happy publishing. */
90
91/** Absolute path to the WordPress directory. */
92if ( ! defined( 'ABSPATH' ) ) {
93 define( 'ABSPATH', dirname( __FILE__ ) . '/' );
94}
95
96/** Sets up WordPress vars and included files. */
97require_once( ABSPATH . 'wp-settings.php' );
98
99/**
100 * Handle SSL reverse proxy
101 */
102if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
103 $_SERVER['HTTPS']='on';
104if (isset($_SERVER['HTTP_X_FORWARDED_HOST'])) {
105 $_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST'];
106}