mirror of
https://codeberg.org/alpine/alpine-wiki.git
synced 2023-08-25 13:53:16 +02:00
tutorial - fix apache2 port config missing
This commit is contained in:
parent
c7322abd74
commit
a568d24824
@ -199,4 +199,32 @@ HANDLER="$1"; shift
|
|||||||
if [[ "${HANDLER}" = "deploy_cert" ]]; then
|
if [[ "${HANDLER}" = "deploy_cert" ]]; then
|
||||||
"$HANDLER" "$@"
|
"$HANDLER" "$@"
|
||||||
fi
|
fi
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## see also
|
||||||
|
|
||||||
|
- 🗯 IRC
|
||||||
|
- 💬 `##alpine_telegram_english`
|
||||||
|
- 💬 `#alpine_linux_english`
|
||||||
|
- 📱 Telegram https://t.me/alpine_linux
|
||||||
|
- 🇬🇧 https://t.me/alpine_linux_english
|
||||||
|
- 🇷🇺 https://t.me/alpine_linux_pycckuu (dual english russian, low activity)
|
||||||
|
- 🇨🇴 https://t.me/alpine_linux_espanol
|
||||||
|
- 🇧🇬 https://t.me/alpine_linux_bulgarian (dual english bulgarian, low activity)
|
||||||
|
- 🇨🇳 https://t.me/alpine_linux_chinese (dual english chinese, low activity)
|
||||||
|
- 📡 https://t.me/opentechnologies (open languajes but english as main)
|
||||||
|
- Matrix
|
||||||
|
- 👥 https://matrix.to/#/#alpine-linux-english:matrix.org
|
||||||
|
|
||||||
|
# LICENSE
|
||||||
|
|
||||||
|
**CC BY-NC-SA**: the project allows reusers to distribute, remix, adapt, and build upon the material
|
||||||
|
in any medium or format for noncommercial purposes only, and only so long as attribution is given
|
||||||
|
to the creators involved. If you remix, adapt, or build upon the material, you must license the modified
|
||||||
|
material under identical terms, includes the following elements:
|
||||||
|
|
||||||
|
* **BY** – Credit must be given to the creator of each content respectivelly, starting at the first contributor.
|
||||||
|
* **NC** – Only noncommercial uses of the work are permitted, with exceptions if you fill an issue here!
|
||||||
|
* **SA** – Adaptations must be shared under the same terms, you must obey this terms and do not change it.
|
||||||
|
|
||||||
|
For more information check the [alpine/copyright.md](../../alpine/copyright.md)
|
||||||
|
@ -186,6 +186,7 @@ sed -i -r 's#^SSLCertificateChainFile.*#SSLCertificateChainFile /etc/ssl/certs/l
|
|||||||
sed -i -r 's#\#.*SSLCertificateChainFile.*#SSLCertificateChainFile /etc/ssl/certs/localhost.pem#g' /etc/apache2/conf.d/ssl.conf
|
sed -i -r 's#\#.*SSLCertificateChainFile.*#SSLCertificateChainFile /etc/ssl/certs/localhost.pem#g' /etc/apache2/conf.d/ssl.conf
|
||||||
|
|
||||||
sed -i -r 's#^Listen.*#Listen 443#g' /etc/apache2/conf.d/ssl.conf
|
sed -i -r 's#^Listen.*#Listen 443#g' /etc/apache2/conf.d/ssl.conf
|
||||||
|
sed -i -r 's#^<VirtualHost.*#<VirtualHost _default_:443>#g' /etc/apache2/conf.d/ssl.conf
|
||||||
|
|
||||||
sed -i -r 's#^SSLProtocol.*#SSLProtocol all#g' /etc/apache2/conf.d/ssl.conf
|
sed -i -r 's#^SSLProtocol.*#SSLProtocol all#g' /etc/apache2/conf.d/ssl.conf
|
||||||
|
|
||||||
@ -202,6 +203,9 @@ rc-service apache2 restart
|
|||||||
3. to only allow most secure negociations and a bit of compat, set to `SSLCipherSuite HIGH:MEDIUM:ECDHE:!MD5:!RC4:!3DES:!ADH`
|
3. to only allow most secure negociations and a bit of compat, set to `SSLCipherSuite HIGH:MEDIUM:ECDHE:!MD5:!RC4:!3DES:!ADH`
|
||||||
4. to only allow most secure negociations and a bit of compat, set proxy to `SSLProxyCipherSuite HIGH:MEDIUM:ECDHE:!MD5:!RC4:!3DES:!ADH`
|
4. to only allow most secure negociations and a bit of compat, set proxy to `SSLProxyCipherSuite HIGH:MEDIUM:ECDHE:!MD5:!RC4:!3DES:!ADH`
|
||||||
|
|
||||||
|
Best is to made a redirection inside of the document root of port 80 deifintion
|
||||||
|
also put a `<IfModule mod_ssl.c>` conditional at the beginning of the ssl config file.
|
||||||
|
|
||||||
## Lest Encrypt
|
## Lest Encrypt
|
||||||
|
|
||||||
To obtain a real certificate, use our best guide for:
|
To obtain a real certificate, use our best guide for:
|
||||||
|
Loading…
Reference in New Issue
Block a user