diff --git a/dockerfiles/services/wordpress/wp-config.php b/dockerfiles/services/wordpress/wp-config.php
index 4ff98df77e78bec3b17591df1ee18c7758a80ba3..7382d5f0d527d7c337ef1f7cf2b9567b458d8fd7 100644
--- a/dockerfiles/services/wordpress/wp-config.php
+++ b/dockerfiles/services/wordpress/wp-config.php
@@ -17,6 +17,7 @@
 define('FORCE_SSL_ADMIN', true);
 if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
        $_SERVER['HTTPS']='on';
+$_SERVER["SERVER_PORT"]='443';
 
 // ** MySQL settings - You can get this info from your web host ** //
 /** The name of the database for WordPress */