gitlab omnibus installation with wordpress installation

I've installed gitlab through the standard omnibus installation which installs nginx in a nonstandard directory. Gitlab works perfectly; however, I'm not wanting to install wordpress in /var/www/wordpress.

I've followed the guide here: Using gitlab's nginx to serve another app. However, I am running into an issue where wordpress is displaying the following when using the fqdn I have registered and aliased to the server:

<?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require( dirname( __FILE__ ) . '/wp-blog-header.php' );

My question is, why is nginx not properly displaying/evaluating the php content? Remember, I don't have a standard /etc/nginx/ directory with config files and such, its all done through /opt/gitlab/... directories.

Please help, how can I get this fixed?

Category:php Views:1 Time:2017-11-04

Related post

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.153 (s). 11 q(s)