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
0b6c1057
Commit
0b6c1057
authored
Jun 16, 2021
by
mxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sosocar
parent
8bbdebbb
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
5 deletions
+40
-5
.DS_Store
.DS_Store
+0
-0
.gitignore
.gitignore
+2
-0
dnsmasq.conf
dns/dnsmasq.conf
+0
-2
docker-compose.yml
docker-compose.yml
+3
-3
php.conf
php.conf
+35
-0
No files found.
.DS_Store
deleted
100644 → 0
View file @
8bbdebbb
File deleted
.gitignore
View file @
0b6c1057
...
...
@@ -10,3 +10,4 @@ gulp/*
!gulp/.gitkeep
.c9/
.idea/
id_rsa
\ No newline at end of file
dns/dnsmasq.conf
View file @
0b6c1057
...
...
@@ -3,4 +3,3 @@
server
=
223
.
5
.
5
.
5
server
=
223
.
6
.
6
.
6
address
=/.
test
/
127
.
0
.
0
.
1
\ No newline at end of file
address
=/
gw
.
proxy
/
172
.
31
.
1
.
104
\ No newline at end of file
docker-compose.yml
View file @
0b6c1057
...
...
@@ -11,18 +11,18 @@ services:
-
80:80
volumes
:
-
'
.:/workspace'
hostname
:
workspace
hostname
:
local
mysql.test
:
container_name
:
mysql
image
:
mysql:
8
image
:
mysql:
5.5
networks
:
-
wb_net
environment
:
MYSQL_ROOT_PASSWORD
:
root
volumes
:
-
'
./storage/mysql:/var/lib/mysql'
-
'
./my.cnf:/etc/mysql/my.cnf'
#
- './my.cnf:/etc/mysql/my.cnf'
ports
:
-
3306:3306
hostname
:
mysql
...
...
php.conf
View file @
0b6c1057
...
...
@@ -61,3 +61,37 @@ server {
deny
all
;
}
}
server
{
listen
80
;
keepalive_timeout
60
;
server_name
sosocar
.
test
;
root
/
workspace
/
laravel
/
topka
/
public
;
location
/ {
if
(!-
e
$
request_filename
) {
rewrite
^(.*) /
index
.
php
last
;
}
if
(-
d
$
request_filename
) {
rewrite
^(.*) /
index
.
php
last
;
}
}
location
/
upload
/
images
{
rewrite
^.+
upload
/
images
/(.*)$ /
upload
/
images
/$
1
break
;
proxy_pass
http
://
api
.
sosocar
.
cn
;
}
location
/
tb
/
brand
{
rewrite
^.+
tb
/
brand
/(.*)$ /
tb
/
brand
/$
1
break
;
proxy_pass
http
://
api
.
sosocar
.
cn
;
}
location
/
tb
/
series
{
rewrite
^.+
tb
/
series
/(.*)$ /
tb
/
series
/$
1
break
;
proxy_pass
http
://
api
.
sosocar
.
cn
;
}
location
~ \.
php
$ {
fastcgi_pass
unix
:/
var
/
run
/
php
/
php5
.
6
-
fpm
.
sock
;
fastcgi_index
index
.
php
;
fastcgi_param
SCRIPT_FILENAME
$
document_root
$
fastcgi_script_name
;
include
fastcgi_params
;
}
}
\ No newline at end of file
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