Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-test
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kunkka王辉
docker-test
Commits
b6de9731
Commit
b6de9731
authored
Sep 22, 2023
by
Kunkka王辉
😲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
安装脚本优化
parent
af488200
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
nginx-start.sh
src/nginx-start.sh
+12
-0
No files found.
src/nginx-start.sh
View file @
b6de9731
...
@@ -3,6 +3,18 @@
...
@@ -3,6 +3,18 @@
if
[
!
-d
/etc/nginx/php
]
;
then
if
[
!
-d
/etc/nginx/php
]
;
then
mkdir
/etc/nginx/php
mkdir
/etc/nginx/php
fi
fi
cat
<<
EOF
>/etc/nginx/conf.d/timeout.conf
client_header_timeout 120s;
client_body_timeout 120s;
send_timeout 120s;
proxy_connect_timeout 120s;
proxy_send_timeout 120s;
proxy_read_timeout 120s;
fastcgi_read_timeout 120s;
EOF
cat
<<
EOF
>/etc/nginx/php/
$PHP74_HOST
.conf
cat
<<
EOF
>/etc/nginx/php/
$PHP74_HOST
.conf
location ~ \.php
$
{
location ~ \.php
$
{
fastcgi_pass
$PHP74_HOST
:9000;
fastcgi_pass
$PHP74_HOST
:9000;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment