NS7 Virtualhost page proposal going on

It’s fair. So move on in that discussion.

hi Guys
So I must say that the new module for virtual hosts, is very well done!

Finally works without irgenwelche adjustments phpmyadmin and wordpress.
Brilliant!

Creating virtual server orginal reinkopieren data, customize it!

Like great!

greetings
Gerald

3 Likes

:joy: Great language mix :joy:

I have this problem as well especially when I am tired and my brain works only with my mother language.

1 Like

Hi,
yesterday and today I installed a Nethserver v7 to use the virtual Host feature.
What I really miss is the possibility to configure ProxyPass. I can configure everything that is hosted on the nethserver but the services that are on other server I still have to configure manually in the Apache configs.

Examples what I like to do using the Nethserver GUI:

<VirtualHost *:80>
    ServerName subdomain.topdomain.de
    ProxyPreserveHost On
    ProxyPass / http://10.1.0.101/
    ProxyPassReverse / http://10.1.0.101/
</VirtualHost>

and

<VirtualHost *:443>
    ServerName subdomain.topdomain.de
    ProxyPreserveHost On
    SSLEngine On
    SSLProxyEngine Off
    SSLCertificateFile /etc/httpd/conf.d/my.pem
    SSLCertificateKeyFile /etc/httpd/conf.d/my.key
    SSLCertificateChainFile /etc/httpd/conf.d/my_intermediate.pem
    SSLCACertificateFile /etc/httpd/conf.d/my_root.pem
    ProxyPass /.wellknown !
    ProxyPass / http://10.1.0.101/
    ProxyPassReverse / http://10.1.0.101/
</VirtualHost>

Basically it is just something like “forward all queries to subdomain.topdomain.de to server 10.1.0.101 on Port 80 and 443. For 443 also add a certificate”. In the 443-example the certificate is added by the proxy. The webserver itself severs it’s content to the proxy only on 80.

3 Likes

yum install nethserver-httpd-proxypass

Reverse proxy menu, in the Gateway section.

1 Like

We have split it into a different page as discussed below!