You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<VirtualHost *:80>
ServerName noco.example.com
ServerAdmin mail@example.com
ServerAlias www.noco.example.com
# DocumentRoot /var/www/noco
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
RewriteEngine On
# auto redirect HTTP to HTTPS
Redirect permanent / https://noco.example.com/
# auto redirect www to non-www
<If "%{HTTP_HOST} == 'www.noco.example.com'">
Redirect permanent / https://noco.example.com/
</If>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<IfModule mod_dir.c>
DirectoryIndex index.php index.pl index.cgi index.html index.xhtml index.htm
</IfModule>
<Proxy *>
Require all granted
</Proxy>
ProxyPreserveHost on
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
<Location />
Order allow,deny
Allow from all
</Location>
</VirtualHost>
<VirtualHost *:443>
ServerAdmin reach@fabianschober.com
ServerName noco.example.com
ServerAlias www.noco.example.com
ServerAdmin reach@fabianschober.com
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
# auto redirect www to non-www
<If "%{HTTP_HOST} == 'www.noco.example.com'">
Redirect permanent / https://noco.example.com/
</If>
# log files
ErrorLog /var/log/apache2/noco-error.log
CustomLog /var/log/apache2/noco-access.log combined
SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/noco.example.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/noco.example.com/privkey.pem
<Location />
Order allow,deny
Allow from all
</Location>
ProxyPreserveHost on
ProxyPass / http://127.0.0.1:8080/
ProxyPassReverse / http://127.0.0.1:8080/
</VirtualHost>
I made sure this is working fine.
Then I ran docker compose up -d, docker ps -a and docker logs <container-id>. At this piint, everything was green in the logs. Then I tried to access the site, and I always just get this error.
Desired Behavior
I should be able to access nocodb via the proxy.
Project Details
NocoDB used with Docker, mysql variant, see details in the code above.
Attachments
The text was updated successfully, but these errors were encountered:
Short update: I just tinkered with npx-create-nocodb-app. The Node.js application is a dependency hell, but the docker option would work fine, except I am running in the same issue. I suspect something wrong with my apache configuration. Will look into it some more these days.
Please confirm if bug report does NOT exist already ?
Steps to reproduce ?
I cloned the github repo and cd'd into mysql. Then I edited the docker-compose.yml file to look somewhat like this:
I configured my apache virtual host like this:
I made sure this is working fine.
Then I ran
docker compose up -d
,docker ps -a
anddocker logs <container-id>
. At this piint, everything was green in the logs. Then I tried to access the site, and I always just get this error.Desired Behavior
I should be able to access nocodb via the proxy.
Project Details
NocoDB used with Docker, mysql variant, see details in the code above.
Attachments
The text was updated successfully, but these errors were encountered: