Hi there,
i am trying to install Nextcloud AIO on a debian system with an apache reverse proxy where port 8080 is already used by another docker container.
what do i need to change to run the nextcloud AIO container?
docker: Error response from daemon: driver failed programming external connectivity on endpoint nextcloud-aio-mastercontainer (4a4b0135de2945f97330a7488d69e567cc9eae347f55e3ad1e022b1dbdbc1dd1): Error starting userland proxy: listen tcp4 0.0.0.0:8080: bind: address already in use.
but leaving out the 8080 part in the docker startupt (–publish 8080:8080 \ )
i cannot access nextcloud.
this is my apache site:
<VirtualHost *:80>
ServerName cloud.myDomain.de
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
RewriteCond %{SERVER_NAME} =cloud.myDomain.de
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
<VirtualHost *:443>
ServerName cloud.myDomain.de
# Reverse proxy based on https://httpd.apache.org/docs/current/mod/mod_proxy_wstunnel.html
RewriteEngine On
ProxyPreserveHost On
AllowEncodedSlashes NoDecode
ProxyPass / http://theIPofTheServer:11000/ nocanon
ProxyPassReverse / http://theIPofTheServer:11000/
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteCond %{THE_REQUEST} "^[a-zA-Z]+ /(.*) HTTP/\d+(\.\d+)?$"
RewriteRule .? "ws://theIPofTheServer:11000/%1" [P,L]
# Enable h2, h2c and http1.1
Protocols h2 h2c http/1.1
# Solves slow upload speeds caused by http2
# H2WindowSize 5242880
# TLS
SSLEngine on
SSLProtocol -all +TLSv1.2 +TLSv1.3
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305
SSLHonorCipherOrder off
SSLSessionTickets off
SSLCertificateFile /etc/letsencrypt/live/mail.myDomain.de-0001/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mail.myDomain.de-0001/privkey.pem
# Disable HTTP TRACE method.
TraceEnable off
<Files ".ht*">
Require all denied
</Files>
# Support big file uploads
LimitRequestBody 0
</VirtualHost>
any idea what is wrong here?
this is what i get if i go to the cloud page:
Thanks a lot for help!!
Cheers!