-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdatabase_info_pg.php
More file actions
29 lines (21 loc) · 837 Bytes
/
database_info_pg.php
File metadata and controls
29 lines (21 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
server {
listen 65501;
server_name db.mylabclub.com;
access_log /var/log/db_pg_demo.access.log main;
error_log /var/log/db_pg_demo.error.log;
root /Users/shuangcui/sql_doc/db_pg_demo.php;
location / { rewrite ^$ /public/ last;
rewrite ^(.*)$ /public/index.php?_url=$1 last;
}
location ~ \.php$ {
fastcgi_split_path_info (.*\.php)(.*)$;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
include fastcgi_params;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}