Files
pull-courseware/vendor/daijie/aria2/playground/nginx.conf
T
julecn 9bab04be20 chore: 批量修改文件权限为可执行
将项目内绝大多数文件的权限从644调整为755,统一可执行权限配置
2026-08-02 16:29:01 +08:00

27 lines
720 B
Nginx Configuration File
Executable File

server {
listen 80;
#listen 443 ssl http2;
server_name _;
#ssl_certificate ssl.crt;
#ssl_certificate_key ssl.key;
#ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
#ssl_ciphers HIGH:!aNULL:!MD5;
keepalive_timeout 120;
root /var/www;
location / {
index index.html index.htm index.php;
try_files $uri $uri/ $uri.php$is_args$args;
}
location ~ \.php$ {
fastcgi_pass php:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
location /.well-known/acme-challenge/ {
try_files $uri /dev/null =404;
}
}