proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
location / { include proxy_params; proxy_pass http://your-really-web-server; proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }
sudo wget https://wordpress.org/latest.tar.gz sudo tar -xzvf latest.tar.gz
sudo mv wp-config-sample.php wp-config.php
# Gracefully handle terminated SSL at reverse proxy if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false) { $_SERVER['HTTPS'] = 'on'; }
/** The name of the database for WordPress */ define( 'DB_NAME', 'MyDATABASE' ); /** Database username */ define( 'DB_USER', 'MyUSER' ); /** Database password */ define( 'DB_PASSWORD', 'xxxxxxxxxxxxxxxxx' );
https://example.com/wp-admin/install.php