Last active
November 26, 2023 09:19
-
-
Save TheDelta/681890fbfc24e053f982762b7708cc02 to your computer and use it in GitHub Desktop.
Fix issues with wordpress docker image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Enter wp docker image with terminal | |
# | |
# Replace 8080 (like 8480) with correct listening port | |
echo "\nListen 8080\n" >> /etc/apache2/ports.conf | |
echo "\n<VirtualHost *:*>\n</VirtualHost>\n" >> /etc/apache2/sites-available/000-default.conf | |
# Enable mod_headers | |
a2enmod headers | |
# now restart apache | |
service apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment