Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

WordPress installation page appears in blank

$
0
0

Replies: 0

I get the blank page in the first installation steps for WordPress.

I am trying to host in ECS container along with RDS Mysql instance but need to modify a little bit to wp-config for SSL and site URL. So I am pulling the docker image and modified the image with a dockercompose.yml file. Then, I created the new image from that modifying container and host in ECS container.

This is my dockercompose.yml:

version: '3.3'

services:
   wordpress:
     image: wordpress:latest
     ports:
       - "80:80"
     restart: always
     environment:
       WORDPRESS_DB_HOST: 99.00.343.22
       WORDPRESS_DB_USER: wpadmin
       WORDPRESS_DB_PASSWORD: pwd
       WORDPRESS_DB_NAME: wordpress
       WORDPRESS_CONFIG_EXTRA: |
        define('WP_SITEURL', 'https://wxxx.com');
        define('WP_HOME', 'https://wxxx.com');
        define('FORCE_SSL_ADMIN', true);
        // in some setups HTTP_X_FORWARDED_PROTO might contain
        // a comma-separated list e.g. http,https
        // so check for https existence
        if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
                $_SERVER['HTTPS']='on';

The blank page is appeared when I tried to call the URL with the ECS IP ADDRESS for installing WordPress in ecs.


Viewing all articles
Browse latest Browse all 59525

Trending Articles