mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-22 11:02:19 +03:00
Updated Reverse proxy to the Glances Web UI (markdown)
parent
b4457ca200
commit
55a53ea2c1
@ -1,14 +1,11 @@
|
||||
# Apache configuration
|
||||
|
||||
`
|
||||
RewriteEngine on
|
||||
RewriteCond %{HTTP_REFERER} ^https?://[^/]+/glances
|
||||
RewriteCond %{REQUEST_URI} !^/glances
|
||||
RewriteCond %{THE_REQUEST} ^GET
|
||||
RewriteRule ^/(.*) /glances/$1 [QSA,R]
|
||||
RewriteEngine on
|
||||
RewriteCond %{HTTP_REFERER} ^https?://[^/]+/glances
|
||||
RewriteCond %{REQUEST_URI} !^/glances
|
||||
RewriteCond %{THE_REQUEST} ^GET
|
||||
RewriteRule ^/(.*) /glances/$1 [QSA,R]
|
||||
ProxyPass /glances/ http://localhost:61208/
|
||||
ProxyPassReverse /glances/ http://localhost:61208/
|
||||
Redirect permanent /glances http://host/glances/
|
||||
|
||||
ProxyPass /glances/ http://localhost:61208/
|
||||
ProxyPassReverse /glances/ http://localhost:61208/
|
||||
|
||||
Redirect permanent /glances http://host/glances/
|
||||
`
|
Loading…
Reference in New Issue
Block a user