Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
hosts.conf
Code Block
languagexml
<VirtualHost *:80>
    ServerName example.termweb.eu
    DocumentRoot "/var/www/termweb4"
    RewriteEngine On

    <Directory /var/www/termweb4/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/json
        Order allow,deny
        allow from all
 
  
 
   RewriteEngine On         RewriteCond %{REQUEST_FILENAME} !-f

        RewriteRule ^.+$ index.html [L]
    </Directory>

    ProxyPreserveHost   on
    ProxyPass           /api http://localhost:8080/api
    ProxyPassReverse    /api http://localhost:8080/api
    ProxyPass           /js http://localhost:8080/js
    ProxyPassReverse    /js http://localhost:8080/js
    ProxyPass           /help http://localhost:8080/help
    ProxyPassReverse    /help http://localhost:8080/help
    ProxyPass           /custom http://localhost:8080/custom
    ProxyPassReverse    /custom http://localhost:8080/custom
    ProxyPass           /layout http://localhost:8080/layout
    ProxyPassReverse    /layout http://localhost:8080/layout
    ProxyPass           /tw4 http://localhost:8080/tw4
    ProxyPassReverse    /tw4 http://localhost:8080/tw4
    ProxyPass           /app http://localhost:8080/app
    ProxyPassReverse    /app http://localhost:8080/app
    ProxyPass           /services http://localhost:8080/services
    ProxyPassReverse    /services http://localhost:8080/services
    ProxyPassReverse    /login http://localhost:8080/login
    ProxyPass           /login-openid http://localhost:8080/login-openid
    ProxyPassReverse    /login-openid http://localhost:8080/login-openid
    ProxyPass           /login-oidc http://localhost:8080/login-oidc
    ProxyPassReverse    /login-oidc http://localhost:8080/login-oidc
    ProxyPass           /login-saml http://localhost:8080/login-saml
    ProxyPassReverse    /login-saml http://localhost:8080/login-saml
    ProxyTimeout 1200
    AddOutputFilterByType DEFLATE application/json


    ErrorLog logs/example.termweb.eu-error_log
    CustomLog logs/example.termweb.eu-access_log common
</VirtualHost>

...