mirror of
https://github.com/linuxserver/docker-freshrss.git
synced 2026-01-31 13:16:16 +08:00
23 lines
587 B
Plaintext
23 lines
587 B
Plaintext
server {
|
|
listen 80;
|
|
listen 443 ssl;
|
|
index index.html index.htm index.php;
|
|
server_name _;
|
|
ssl_certificate /config/keys/cert.crt;
|
|
ssl_certificate_key /config/keys/cert.key;
|
|
client_max_body_size 0;
|
|
root /usr/share/webapps/freshrss/p;
|
|
index index.php index.html index.htm;
|
|
|
|
location ~ ^.+?\.php(/.*)?$ {
|
|
fastcgi_pass 127.0.0.1:9000;
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
include /etc/nginx/fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
}
|
|
location / {
|
|
try_files $uri $uri/ index.php;
|
|
}
|
|
}
|