Hello,
I want to run Jira and Plesk on one server. What do I have to enter in the domain (Plesk) for Apache & nginx settings?
this does not work properly ... it loses connection after a few tries. My English is not so good. Sorry
I want to run Jira and Plesk on one server. What do I have to enter in the domain (Plesk) for Apache & nginx settings?
this does not work properly ... it loses connection after a few tries. My English is not so good. Sorry
Code:
<Location />
ProxyPass hhttp://137.74.XXX.53:8080/
ProxyPassReverse http://137.74.XXX.53:8080/
</Location>
# Put this after the other LoadModule directives
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
LoadModule proxy_wstunnel_module /usr/lib/apache2/modules/mod_proxy_wstunnel.so
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
# Put this in the main section of your configuration (or virtual host, if using Apache virtual hosts)
ProxyRequests Off
ProxyPreserveHost On
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/synchrony
RewriteRule ^/(.*) http://localhost:8080/$1 [P]
<Proxy *>
Require all granted
</Proxy>
ProxyPass /synchrony http://localhost:8005/synchrony
<Location /synchrony>
Require all granted
RewriteEngine on
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC]
RewriteRule .* ws://localhost:8080%{REQUEST_URI} [P]
</Location>
ProxyPass / http://localhost:8080
ProxyPassReverse / http://localhost:8080
<Location />
Require all granted
</Location>