mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Add ProxyPreserveHost on
parent
ecc7647280
commit
b2698dbee5
1 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ With SSL:
|
|||
SSLCertificateKeyFile /path/to/ssl/key/key
|
||||
# Protocol 'h2' is only supported on Apache 2.4.17 or newer.
|
||||
Protocols h2 http/1.1
|
||||
|
||||
ProxyPreserveHost on
|
||||
ProxyPass / http://localhost:3001/
|
||||
RewriteEngine on
|
||||
RewriteCond %{HTTP:Upgrade} =websocket
|
||||
|
@ -111,7 +111,7 @@ Without SSL:
|
|||
```apache
|
||||
<VirtualHost *:80>
|
||||
ServerName sub.domain.com
|
||||
|
||||
ProxyPreserveHost on
|
||||
ProxyPass / http://localhost:3001/
|
||||
RewriteEngine on
|
||||
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
||||
|
|
Loading…
Reference in a new issue