jean-cloud-services/services/velov.jean-cloud.net/nginx_server.conf

26 lines
645 B
Plaintext
Raw Permalink Normal View History

2023-04-24 10:11:09 +00:00
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
2023-09-29 07:51:22 +00:00
ssl_certificate $JC_CERT/fullchain.pem;
ssl_certificate_key $JC_CERT/privkey.pem;
2023-04-24 10:11:09 +00:00
server_name velov.jean-cloud.net www.velov.jean-cloud.net;
2023-09-07 17:50:05 +00:00
root $HTTP_DIR;
2023-04-24 10:11:09 +00:00
index index.php;
location / {
try_files $uri $uri/ =404;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
2024-01-02 16:50:14 +00:00
fastcgi_pass $NET.100:9000;
2023-04-24 10:11:09 +00:00
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/src/app/$fastcgi_script_name;
#fastcgi_param SCRIPT_FILENAME /usr/src/app/index.php;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}