sa
This commit is contained in:
parent
02ed6e4cca
commit
8320fcaa88
1 changed files with 5 additions and 4 deletions
|
|
@ -60,14 +60,15 @@ services:
|
|||
WORDPRESS_DB_USER: traveler
|
||||
WORDPRESS_DB_PASSWORD: F@lcon13
|
||||
WORDPRESS_DB_NAME: wp
|
||||
# Simplified SSL configurations
|
||||
# Revised proxy configuration
|
||||
WORDPRESS_CONFIG_EXTRA: |
|
||||
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
|
||||
$_SERVER['HTTPS'] = 'on';
|
||||
}
|
||||
define('FORCE_SSL_ADMIN', true);
|
||||
define('WP_HOME', 'https://classifieds.pncfishandmore.com');
|
||||
define('WP_SITEURL', 'https://classifieds.pncfishandmore.com');
|
||||
define('FORCE_SSL', true);
|
||||
define('WP_PROXY_HOST', 'caddy');
|
||||
define('WP_PROXY_PORT', '443');
|
||||
define('WP_PROXY_SSL', true);
|
||||
volumes:
|
||||
- /data/nfs/Baxter/Docker/wp-pnc/wp:/var/www/html
|
||||
networks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue