This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
freshrss/overlay/etc/nginx/vhost.conf
Robert Kaussow 111fa7a5dd
Some checks failed
continuous-integration/drone/push Build is failing
inital commit
2019-10-02 09:43:32 +02:00

19 lines
517 B
Plaintext

server {
listen 8080;
server_name localhost;
index index index.php index.html index.htm;
root /var/www/app/p/;
location ~ ^.+?\.php(/.*)?$ {
fastcgi_pass unix:/var/run/php/php-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location / {
try_files $uri $uri/ index.php;
}
}