mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 21:44:51 +00:00
23 lines
500 B
Plaintext
23 lines
500 B
Plaintext
server {
|
|
listen 80;
|
|
|
|
root /home/invoiceshelf/app/public;
|
|
index index.php;
|
|
|
|
error_log /var/log/nginx/dev-error.log;
|
|
access_log /var/log/nginx/dev-access.log;
|
|
|
|
server_name invoiceshelf.test;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.php?$query_string;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
fastcgi_pass php-fpm:9000;
|
|
fastcgi_index index.php;
|
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
|
include fastcgi_params;
|
|
}
|
|
}
|