initial commit for full install scripts

This commit is contained in:
starbirdtech383
2024-01-25 18:11:47 +05:30
parent 07c7f6af03
commit 818f8082be
15 changed files with 381 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
server {
listen 80;
listen [::]:80;
server_name localhost;
# server_name my.nocodb.com;
# listen 443 default_server ssl;
# listen [::]:443 ssl ;
# ssl_certificate /etc/nginx/ssl/live/status.nocodb.com/fullchain.pem;
# ssl_certificate_key /etc/nginx/ssl/live/status.nocodb.com/privkey.pem;
location / {
proxy_pass http://nocodb_backend;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_intercept_errors on;
error_page 404 = @handle404;
}
location @handle404 {
rewrite ^ /dashboard permanent;
}
}