File tree 2 files changed +10
-3
lines changed
files/etc/apache2.webserver.ext 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 3
3
# /etc/apache2/sites-enabled/000-default.conf
4
4
5
5
Listen 80
6
+ #Listen 3128 # for spice and VNC TCP streams
6
7
7
8
<IfModule ssl_module>
8
9
Listen 443
Original file line number Diff line number Diff line change 58
58
59
59
</Location >
60
60
61
+ # FIXME: we don't proxy any spice or VNC connections yet...
62
+ # We really would be a lot better off doing this in nginx:
63
+ # https://forum.proxmox.com/threads/nginx-reverse-proxy-for-spice.89108/
64
+ # or https://forum.proxmox.com/threads/spice-viewer-with-reverse-proxy.87475/
61
65
<IfModule mod_proxy_balancer.c >
62
66
63
- ProxyPass "/" "balancer://pvecluster/" stickysession=JSESSIONID|jsessionid nofailover=On
64
67
<Proxy "balancer://pvecluster" >
65
68
BalancerMember "https://pve1:8006 "
66
69
BalancerMember "https://pve2:8006 " loadfactor=2
85
88
SSLProxyCheckPeerName off
86
89
SSLProxyCheckPeerExpire off
87
90
88
- ProxyPass "/" "balancer://proxmox/"
89
- ProxyPassReverse "/" "balancer://proxmox/"
91
+ # a lot of this config came
92
+ # from https://forum.proxmox.com/threads/config-dump-apache-load-balancer-fail-over-and-reverse-proxy.131217/
93
+ # but some straight from https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxyrequests
94
+ ProxyPass "/" "balancer://pvecluster/" stickysession=JSESSIONID|jsessionid nofailover=On
95
+ ProxyPassReverse "/" "balancer://pvecluster/"
90
96
91
97
</IfModule >
92
98
You can’t perform that action at this time.
0 commit comments