![](https://secure.gravatar.com/avatar/d1202478b2dd190560eab808bafaa944.jpg?s=120&d=mm&r=g)
We are needing to move our current Observium instance to an Nginx instance, but I am having a extremely difficult time getting it set up. I can get to the login page and we can all login, but after that, we're not able to access any of the other pages. I know the htaccess file in the html folder has to be converted to nginx supported format, which I have done, but still no luck. Added to the complication is that we are having to run this on a machine running php7.4-fpm. Is there any guidance on getting Observium running on a Debian 11 instance using Nginx and PHP7.4-FPM? Please advise. Thank you.
Current Nginx config:
server {
listen 80;
server_name uatobservium.library.vanderbilt.edu;
root /apps/observium/html; index index.php; error_log /var/log/nginx/observium-error.log info; access_log /var/log/nginx/observium-access.log;
location ~ .php$ { try_files $uri $uri/ index.php; include fastcgi_params; fastcgi_pass unix:/run/php/observium-fpm.sock; 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 ~ favicon.ico { }
location ~ 404 { rewrite ^(.*)$ /. redirect; }
location ~ ^/..*$ { return 403; }
location ~ .(js|ico|txt|gif|jpg|png|css|php) { }
location ~ api/ { }
location ~ rrd/ { }
location = /server-status { }
location / { if (!-e $request_filename){ rewrite ^(.*)$ index.php/$1/; } }
}
[Vanderbilt]
Jamen McGranahan Associate Director of Library Technology & Digital Services, Vanderbilt Library Vanderbilt University 615.343.1614 | jamen.mcgranahan@vanderbilt.edumailto:jamen.mcgranahan@vanderbilt.edu | https://www.library.vanderbilt.edu/
Central Library, 419 21st Avenue South Nashville, TN 37203
Pronouns: he/him/his [cid:image002.png@01D99C47.ED634FA0]
participants (1)
-
McGranahan, Jamen (VU)