1234567891011121314151617181920212223242526272829303132 |
- server {
- listen 29604 ssl;
- ssl_certificate /data/ssl/tls.crt;
- ssl_certificate_key /data/ssl/tls.key;
- ssl_session_timeout 5m;
- ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
- ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
- ssl_prefer_server_ciphers on;
- access_log /data/logs/nginx/3.0/manage/access.log;
- error_log /data/logs/nginx/3.0/manage/error.log;
- index index.html index.php;
- root /data/3.0/BY-YJ/manage/public/;
- location / {
- index index.php index.html index.htm;
- if (!-e $request_filename) {
- rewrite ^(.*)$ /index.php?s=/$1 last;
- break;
- }
- if ( -f $request_filename) {
- break;
- }
- }
- location ~ \.php($|/) {
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_index index.php;
- fastcgi_split_path_info ^(.+\.php)(.*)$;
- fastcgi_param PATH_INFO $fastcgi_path_info;
- fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
- include fastcgi_params;
- }
- }
|