Skip to content
Snippets Groups Projects

Resolve "/wp-admin redirects to :8080"

Merged Maarten de Waard requested to merge 117-wp-admin-redirects-to-8080 into main
All threads resolved!
Compare and Show latest version
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
+ 5
1
@@ -31,4 +31,8 @@ RUN echo "RemoteIPTrustedProxy $TRUSTED_PROXY_IP" >> /etc/apache2/apache2.conf
RUN echo "RemoteIPHeader X-Forwarded-For" >> /etc/apache2/apache2.conf
# Add custom log format called "remoteip" that uses remoteip module
RUN echo "LogFormat \"%a %l %u %t \\\"%r\\\" %>s %O\" remoteip" >> /etc/apache2/apache2.conf
RUN echo "UseCanonicalPhysicalPort Off" >> /etc/apache2/apache2.conf
# Make sure there is no new request for directories, because those lead to
# redirects to the wrong port
# RUN echo "DirectorySlash Off" >> /etc/apache2/apache2.conf
RUN echo "ServerName https://localhost:80" >> /etc/apache2/apache2.conf
Loading