HG2S
February 13, 2025, 7:43pm
1
I need some clarification on the use of the Auto-Upstall script alongside an existing (co-located) Nginx reverse proxy.
Can the script be used to install an instance of NocoDB with an existing Nginx proxy? Does the Traefik gateway take over from there or is other/further integration with Niginx required?
-Thank you
sinan
February 15, 2025, 5:34am
2
use this command to use upstall & during installation use 127.0.0.1 as host
bash <(curl -sSL http://install.nocodb.com/noco.sh | sed '/443:443/d' | sed 's/80:80/80:8034/g') <(mktemp)
example nginx conf
server {
listen 0.0.0.0:80 ;
listen [::0]:80 ;
server_name nocodb.example.com ;
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 0.0.0.0:443 ssl ;
listen [::0]:443 ssl ;
server_name nocodb.example.com ;
ssl_certificate /var/lib/acme/example.com/fullchain.pem;
ssl_certificate_key /var/lib/acme/example.com/key.pem;
ssl_trusted_certificate /var/lib/acme/example.com/chain.pem;
location / {
proxy_pass http://127.0.0.1:8034;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}
}
you can use certbot to acquire the ssl certs for your domain
navi
February 17, 2025, 2:13pm
3
One of our community user has auto-usptall experience with nginx here