feat: update doc/apache.md
This commit is contained in:
parent
e053f857b8
commit
5e35fa18b3
|
@ -0,0 +1,8 @@
|
|||
* enable web service proxy modules
|
||||
```
|
||||
sudo a2enmod proxy
|
||||
sudo a2enmod proxy_http
|
||||
sudo systemctl restart apache2
|
||||
systemctl status apache2
|
||||
sudo apachectl configtest
|
||||
```
|
|
@ -0,0 +1,23 @@
|
|||
* check web service port configuration of `ssl_module` for port 443
|
||||
```
|
||||
sudo a2enmod ssl
|
||||
sudo systemctl restart apache2
|
||||
systemctl status apache2
|
||||
sudo apachectl configtest
|
||||
less /etc/apache2/ports.conf
|
||||
```
|
||||
|
||||
* OPTION: check firewall (nftables) configuration for port 443
|
||||
```
|
||||
less /etc/nftables.conf
|
||||
```
|
||||
|
||||
* OPTION: check firewall (ufw) configuration for port 443
|
||||
```
|
||||
sudo ufw status
|
||||
```
|
||||
|
||||
* test API in browser
|
||||
```
|
||||
https://<hostname -I>
|
||||
```
|
|
@ -33,3 +33,7 @@ sudo ufw status
|
|||
hostname -I
|
||||
http://<server ip>
|
||||
```
|
||||
|
||||
* OPTION: enable web service proxy modules like [this](./apache-proxy.md)
|
||||
|
||||
* OPTION: enable SSL like [this](./apache-ssl.md)
|
||||
|
|
Loading…
Reference in New Issue