36 lines
1.1 KiB
Nginx Configuration File
Executable File
36 lines
1.1 KiB
Nginx Configuration File
Executable File
proxy_cache_path /data/nginx/cache/nextcloud levels=1:2 keys_zone=my_cache:10m max_size=10g
|
|
inactive=60m use_temp_path=off;
|
|
|
|
server {
|
|
listen 80;
|
|
index index.php index.html;
|
|
server_name docker.test;
|
|
|
|
root /var/www/html;
|
|
|
|
location /remote.php {
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
fastcgi_pass tasks.xaicloud:9000;
|
|
fastcgi_index remote.php;
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
# fastcgi_param SCRIPT_FILENAME $document_root/index.php;
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
}
|
|
|
|
location / {
|
|
try_files $uri /index.php?$args;
|
|
}
|
|
|
|
# location / {
|
|
location ~ \.php$ {
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
fastcgi_pass tasks.xaicloud:9000;
|
|
fastcgi_index index.php;
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
# fastcgi_param SCRIPT_FILENAME $document_root/index.php;
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
}
|
|
}
|