mirror of
https://github.com/xiaoqidun/pfenv.git
synced 2024-11-22 14:06:45 +08:00
This commit is contained in:
parent
973f179a36
commit
3ec7695cc0
24
README.md
24
README.md
@ -19,3 +19,27 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- '/www:/www'
|
- '/www:/www'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# nginx server
|
||||||
|
```
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
listen [::]:80;
|
||||||
|
|
||||||
|
server_name aite.xyz;
|
||||||
|
|
||||||
|
root /www/aite.xyz;
|
||||||
|
index index.htm index.html index.php default.htm default.html default.php;
|
||||||
|
|
||||||
|
autoindex on;
|
||||||
|
autoindex_localtime on;
|
||||||
|
autoindex_exact_size on;
|
||||||
|
|
||||||
|
location ~ \.php$ {
|
||||||
|
fastcgi_pass php-fpm:9000;
|
||||||
|
fastcgi_index index.php;
|
||||||
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
|
include fastcgi_params;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user