26 lines
570 B
Plaintext
26 lines
570 B
Plaintext
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
ssl_certificate /fullchain.pem;
|
|
ssl_certificate_key /privkey.pem;
|
|
server_name velov.jean-cloud.net www.velov.jean-cloud.net;
|
|
root ;
|
|
|
|
index index.php;
|
|
|
|
location / {
|
|
try_files / =404;
|
|
}
|
|
|
|
location ~ \.php$ {
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
fastcgi_pass .100:9000;
|
|
fastcgi_index index.php;
|
|
include fastcgi_params;
|
|
fastcgi_param SCRIPT_FILENAME /usr/src/app/;
|
|
#fastcgi_param SCRIPT_FILENAME /usr/src/app/index.php;
|
|
fastcgi_param PATH_INFO ;
|
|
}
|
|
}
|
|
|