Remove custom ports for Wordpress

This commit is contained in:
gbaconni
2021-11-09 12:27:49 +01:00
parent 4f8950e4d9
commit 525b128082
3 changed files with 16 additions and 20 deletions

View File

@@ -13,16 +13,16 @@ Bonus (Wordpress)
bash -x bonus.sh -u
```
- Open Chrome
- [Wordpress via https://localhost:4244](https://localhost:4244/)
- [Wordpress via https://localhost](https://localhost/)
- Click on the white background
- Type `thisisunsafe`
```
# HTTP (4243 instead of 80) -- redirect to HTTPS
curl -v http://localhost:4243
# HTTP (80) -- redirect to HTTPS
curl -v http://localhost
# HTTPS (4244 instead of 443)
curl -sk https://localhost:4244 | less
# HTTPS (443)
curl -sk https://localhost | less
```
Debian Preseed: