Hi all
We have install the Installation like it is described for Ubuntu 18.04.
So the setup script have setup a Ngnix and all other stuff.
Now we have problems with the configuration. We read a lot of posts here and also in the Internet, but nothing works like we need.
The Problem:
- We use a Apache Proxy on another server, the passbolt is on a new server installed separeted
- Passbolt (Nginx) musst be called over i.E.192.168.1.100:8080/passbolt our Apache Proxy will then work like Internal.xyz domain name may be for sale
Now we try a lot with configuration on Nginx, but the problem is, if we create a new “location” and put then the alias etc. to /passbolt/, passbolt self redirect us always back to / without our /passbolt/
server {
listen [::]:8080;
listen 8080;
server_name 192.168.1.100;
client_body_buffer_size 100K;
client_header_buffer_size 1K;
client_max_body_size 5M;client_body_timeout 10;
client_header_timeout 10;
keepalive_timeout 5 5;
send_timeout 10;root /var/www/passbolt/webroot;
index index.php;location / {
try_files $uri $uri/ /index.php?$args;
}location ~ .php$ {
try_files $uri =404;
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_intercept_errors on;
fastcgi_split_path_info ^(.+.php)(.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SERVER_NAME $http_host;
fastcgi_param PHP_VALUE “upload_max_filesize=5M \n post_max_size=5M”;
}location /passbolt/ {
alias /var/www/passbolt/webroot/;
try_files $uri $uri/ /passbolt/index.php?$args;location ~ \.php$ { try_files $uri =404; include fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_intercept_errors on; fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_param SERVER_NAME $http_host; fastcgi_param PHP_VALUE "upload_max_filesize=5M \n post_max_size=5M"; }
}
}
Any ideas how we became it works, that passbolt is callable over http://192.168.1.100:8080/passbolt
Server: Ubuntu 18.04.4 LTS
Thank you for your help
Checklist
I have read intro post:
I have read the tutorials, help and searched for similar issues
I provide relevant information about my server (component names and versions, etc.)
I provide a copy of my logs and healthcheck
I describe the steps I have taken to trouble shoot the problem
I describe the steps on how to reproduce the issue