Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
workspace
Overview
Overview
Details
Activity
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
devops
workspace
Commits
0a66902f
Commit
0a66902f
authored
Oct 08, 2021
by
maxingyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加php8
parent
65893741
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
0 deletions
+40
-0
php.conf
config/nginx/php.conf
+31
-0
docker-compose.yml
docker-compose.yml
+9
-0
No files found.
config/nginx/php.conf
View file @
0a66902f
server
{
server
{
listen
80
;
listen
80
;
server_name
query
.
test
;
add_header
X
-
Frame
-
Options
"SAMEORIGIN"
;
add_header
X
-
Content
-
Type
-
Options
"nosniff"
;
index
index
.
php
;
charset
utf
-
8
;
location
/ {
try_files
$
uri
$
uri
/ /
index
.
php
?$
query_string
;
}
location
= /
favicon
.
ico
{
access_log
off
;
log_not_found
off
; }
location
= /
robots
.
txt
{
access_log
off
;
log_not_found
off
; }
error_page
404
/
index
.
php
;
location
~ \.
php
$ {
fastcgi_pass
php8
:
9000
;
fastcgi_param
SCRIPT_FILENAME
/
query
/
public
/$
fastcgi_script_name
;
include
fastcgi_params
;
}
location
~ /\.(?!
well
-
known
).* {
deny
all
;
}
}
server
{
listen
80
;
server_name
dealer
.
test
;
server_name
dealer
.
test
;
add_header
X
-
Frame
-
Options
"SAMEORIGIN"
;
add_header
X
-
Frame
-
Options
"SAMEORIGIN"
;
...
...
docker-compose.yml
View file @
0a66902f
...
@@ -39,6 +39,15 @@ services:
...
@@ -39,6 +39,15 @@ services:
-
memcached
-
memcached
-
beanstalkd
-
beanstalkd
php8
:
image
:
cnice/4wheels-php8:latest
restart
:
always
volumes
:
-
./laravel/query:/query
links
:
-
dbm
-
dbr
dbm
:
dbm
:
image
:
mysql:5.5
image
:
mysql:5.5
restart
:
always
restart
:
always
...
...
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