move nginx conf folder
This commit is contained in:
parent
37a16442d3
commit
4afacf9caa
|
@ -23,8 +23,4 @@ VOLUME /freshrss/data /php/session
|
|||
|
||||
EXPOSE 8080
|
||||
|
||||
LABEL maintainer="Wonderfall <wonderfall@targaryen.house>" \
|
||||
description="A free, self-hostable aggregator" \
|
||||
version="FreshRSS ${FRESHRSS_VER}"
|
||||
|
||||
CMD ["run.sh"]
|
||||
|
|
|
@ -20,14 +20,18 @@ server {
|
|||
deny all;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php;
|
||||
}
|
||||
location / {
|
||||
try_files $uri $uri/ index.php;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
location ~ ^.+?\.php(/.*)?$ {
|
||||
fastcgi_index index.php;
|
||||
fastcgi_pass unix:/php/run/php-fpm.sock;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include /nginx/conf/fastcgi_params;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Reference in New Issue