final
Этот коммит содержится в:
родитель
a362c6c1e9
Коммит
8de3ac5908
50
README.md
50
README.md
@ -45,33 +45,33 @@ PTEST
|
|||||||
```
|
```
|
||||||
|
|
||||||
server {
|
server {
|
||||||
server_name ptest.i2g.ru;
|
server_name ptest.i2g.ru;
|
||||||
root /mnt/160/sites/ptest.i2g/public;
|
root /mnt/160/sites/ptest.i2g/public;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
try_files $uri /index.php?$query_string;
|
||||||
|
}
|
||||||
|
location ~ ^/index\.php(/|$) {
|
||||||
|
fastcgi_split_path_info ^(.+?\.php)(|/.*)$;
|
||||||
|
include fastcgi_params;
|
||||||
|
fastcgi_param HTTP_PROXY "";
|
||||||
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
|
fastcgi_intercept_errors on;
|
||||||
|
# PHP 5 socket location.
|
||||||
|
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||||
|
}
|
||||||
|
location = /favicon.ico {
|
||||||
|
log_not_found off;
|
||||||
|
access_log off;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location = /robots.txt {
|
||||||
try_files $uri /index.php?$query_string;
|
allow all;
|
||||||
}
|
log_not_found off;
|
||||||
location ~ ^/index\.php(/|$) {
|
access_log off;
|
||||||
fastcgi_split_path_info ^(.+?\.php)(|/.*)$;
|
}
|
||||||
include fastcgi_params;
|
|
||||||
fastcgi_param HTTP_PROXY "";
|
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
||||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
||||||
fastcgi_intercept_errors on;
|
|
||||||
# PHP 5 socket location.
|
|
||||||
fastcgi_pass unix:/var/run/php5-fpm.sock;
|
|
||||||
}
|
|
||||||
|
|
||||||
location = /favicon.ico {
|
|
||||||
log_not_found off;
|
|
||||||
access_log off;
|
|
||||||
}
|
|
||||||
|
|
||||||
location = /robots.txt {
|
|
||||||
allow all;
|
|
||||||
log_not_found off;
|
|
||||||
access_log off;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user