Ich habe einen SKS installiert, der apache2 als reverse-proxy nutzt:
Listen 192.168.2.2:11371 <VirtualHost *:11371> <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://127.0.0.1:11371/ ProxyPassReverse / http://127.0.0.1:11371/ ProxyVia On SetEnv proxy-nokeepalive 1 </VirtualHost>
Zusätzlich ist per snap nextcloud installiert, welches das Verzeichnis /media/cloud nutzt. Später soll noch LetsEncrypt installiert werden.
Das Problem: Egal was ich mache, der apache2 scheint immer auf Port80 zu antworten, wo ich den nextcloud apache vermute. Es ist nur der oben genannte SKS Server bei apache2 als site aktiv.
ports.conf:
# If you just change the port or add more ports here, you will likely also # have to change the VirtualHost statement in # /etc/apache2/sites-enabled/000-default.conf #Listen 80 <IfModule ssl_module> Listen 443 </IfModule> <IfModule mod_gnutls.c> Listen 443 </IfModule> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet #Listen 80
sudo apachectl -S
VirtualHost configuration: *:11371 nas.geheim.lan (/etc/apache2/sites-enabled/100-keyserver.conf:6) ServerRoot: "/etc/apache2" Main DocumentRoot: "/var/www/html" Main ErrorLog: "/var/log/apache2/error.log" Mutex watchdog-callback: using_defaults Mutex proxy-balancer-shm: using_defaults Mutex rewrite-map: using_defaults Mutex ssl-stapling-refresh: using_defaults Mutex ssl-stapling: using_defaults Mutex proxy: using_defaults Mutex ssl-cache: using_defaults Mutex default: dir="/var/run/apache2/" mechanism=default PidFile: "/var/run/apache2/apache2.pid" Define: DUMP_VHOSTS Define: DUMP_RUN_CFG User: name="www-data" id=33 Group: name="www-data" id=33