Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ services:
- app_net
depends_on:
- findingaid
restart: unless-stopped

volumes:
app:
Expand Down
5 changes: 4 additions & 1 deletion nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ server {
root /opt/findingaid/public;
index index.php;

resolver 127.0.0.11 valid=5s;

location / {
try_files $uri $uri/ /index.php?$query_string;
}

location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass findingaid:9000;
set $upstream_findingaid findingaid:9000;
fastcgi_pass $upstream_findingaid;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
include fastcgi_params;
Expand Down
Loading