Skip to content

Commit 44fb001

Browse files
authored
Update external docs
1 parent 634bd75 commit 44fb001

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

external/wiki/Proxying-Cockpit-over-Apache-with-LetsEncrypt.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,21 +83,17 @@ Change this file so it looks like the following.
8383
SSLCertificateFile /etc/letsencrypt/live/cockpit.your-domain.com/fullchain.pem
8484
SSLCertificateKeyFile /etc/letsencrypt/live/cockpit.your-domain.com/privkey.pem
8585
Include /etc/letsencrypt/options-ssl-apache.conf
86-
8786
ProxyPreserveHost On
8887
ProxyRequests Off
89-
9088
# allow for upgrading to websockets
9189
RewriteEngine On
9290
RewriteCond %{HTTP:Upgrade} =websocket [NC]
9391
RewriteRule /(.*) ws://127.0.0.1:9090/$1 [P,L]
9492
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
9593
RewriteRule /(.*) http://127.0.0.1:9090/$1 [P,L]
96-
9794
# Proxy to your local cockpit instance
9895
ProxyPass / http://127.0.0.1:9090/
9996
ProxyPassReverse / http://127.0.0.1:9090/
100-
10197
</VirtualHost>
10298
</IfModule>
10399
```

0 commit comments

Comments
 (0)