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
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -24,7 +24,7 @@ ENV TLS_PORT 8443
ENV TRUSTED_PROXY_IP 10.0.0.0/8
RUN sed -i "s/\<:80\>/:$PORT/g" /etc/apache2/sites-available/000-default.conf /etc/apache2/ports.conf
RUN sed -i "s/#ServerName www.example.com/ServerName https:\/\/localhost:80/g" /etc/apache2/sites-available/000-default.conf /etc/apache2/ports.conf
RUN sed -i "s/#ServerName www.example.com/ServerName https:\/\/localhost/g" /etc/apache2/sites-available/000-default.conf /etc/apache2/ports.conf
RUN sed -i "s/\<:443\>/:$TLS_PORT/g" /etc/apache2/sites-available/default-ssl.conf /etc/apache2/ports.conf
RUN sed "s/\tCustomLog \${APACHE_LOG_DIR}\/access.log combined/\tCustomLog \${APACHE_LOG_DIR}\/access.log remoteip/g" /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/default-ssl.conf
Loading