21 lines
541 B
Plaintext
21 lines
541 B
Plaintext
server {
|
|
server_name _;
|
|
listen *:80;
|
|
index index.php index.html index.htm;
|
|
root /usr/src/signer/public;
|
|
|
|
|
|
location ~* \.php$ {
|
|
try_files $uri $uri/ /index.php last;
|
|
fastcgi_split_path_info (.+?\.php)(/.*)$;
|
|
fastcgi_pass signer:9000;
|
|
fastcgi_index index.php;
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
}
|
|
|
|
location ~* .php/ {
|
|
rewrite (.*.php)/ $1 last;
|
|
}
|
|
} |