Bitte sehen Sie sich unten einige der Proxy.conf-Konfigurationen als Beispiel an:
Code: Select all
ServerName site1.com
ErrorLog /var/log/httpd/site1.com-443-error_log
TransferLog /var/log/httpd/site1.com-443-access_log
...
ProxyPass https://site1.com/
ProxyPassReverse https://site1.com/
RewriteEngine on
RewriteCond %{HTTP:UPGRADE} websocket [NC]
RewriteCond %{HTTP:CONNECTION} upgrade [NC]
RewriteRule .* "wss://site1.com%{REQUEST_URI}" [P]
ProxyPass https://site1.com/run/
ProxyPassReverse https://site1.com/run/?app_name=App1&page_name=Page1/
ProxyPass / https://site1.com/
ProxyPassReverse / https://site1.com/run/?app_name=App1&page_name=Page1/