mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
29 lines
576 B
Plaintext
29 lines
576 B
Plaintext
worker_processes 1;
|
|
|
|
events { worker_connections 1024; }
|
|
|
|
http {
|
|
|
|
sendfile on;
|
|
|
|
server {
|
|
listen 80;
|
|
|
|
server_name localhost;
|
|
|
|
root /var/www/html/src;
|
|
index index.php index.html index.htm;
|
|
|
|
location / {
|
|
include /etc/nginx/mime.types;
|
|
try_files $uri /index.php?$args;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
fastcgi_pass php:9000;
|
|
fastcgi_index index.php;
|
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
|
include fastcgi_params;
|
|
}
|
|
}
|
|
} |