2017-01-18 11:22:49 +01:00
|
|
|
location ^~ YNH_WWW_PATH {
|
2017-02-01 20:23:39 +01:00
|
|
|
alias YNH_WWW_ALIAS;
|
2017-02-01 20:46:17 +01:00
|
|
|
root /YNH_WWW_APP/;
|
|
|
|
index index.html yellow.php;
|
2017-01-18 11:22:49 +01:00
|
|
|
|
2017-02-01 20:46:17 +01:00
|
|
|
location /cache {
|
|
|
|
rewrite ^(.*)$ /error break;
|
2017-01-18 11:22:49 +01:00
|
|
|
}
|
|
|
|
|
2017-02-01 20:46:17 +01:00
|
|
|
location /content {
|
2017-01-18 11:22:49 +01:00
|
|
|
rewrite ^(.*)$ /error break;
|
|
|
|
}
|
|
|
|
|
2017-02-01 20:46:17 +01:00
|
|
|
location /system {
|
2017-01-18 11:22:49 +01:00
|
|
|
rewrite ^(.*)$ /error break;
|
|
|
|
}
|
2017-02-01 20:46:17 +01:00
|
|
|
|
|
|
|
location / {
|
2017-01-18 11:22:49 +01:00
|
|
|
if (!-e $request_filename) {
|
|
|
|
rewrite ^/(.*)$ /yellow.php last;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
2017-02-01 20:46:17 +01:00
|
|
|
|
|
|
|
location ~ \.php$ {
|
|
|
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
|
|
|
fastcgi_pass 127.0.0.1:9000;
|
|
|
|
fastcgi_index yellow.php;
|
|
|
|
include fastcgi_params;
|
2017-02-01 20:03:20 +01:00
|
|
|
|
2017-01-18 11:22:49 +01:00
|
|
|
}
|